Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6072577
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:10:32+00:00 2026-05-23T10:10:32+00:00

I had decided to use ReST on this project, but I was told yesterday

  • 0

I had decided to use ReST on this project, but I was told yesterday that currently their API doesnt support POST in ReST and that I should use SOAP.

Basically, we have a “register” user page that submits the data to our own database. The goal is to submit the same data to our email campaign service (which they supplied a wsdl link).

I have never use SOAP (or ReST for that matter), and I was wondering if it is even possible to do this within a jsp page. The form is pretty simple with two inputs called “cust_name” and “cust_email”.

I have tried seraching online, but the results were pretty slim for SOAP implemented in .jsp . Do I need to ‘include’ soap page into the .jsp page, or is there an easier method.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T10:10:32+00:00Added an answer on May 23, 2026 at 10:10 am

    You can do anything in a JSP page that you can do in a servlet (in fact, JSP pages are converted to servlets before they are compiled!). However, embedding Java code in a JSP is considered to go against best practice. You should create a servlet that can interact with your webservice (perhaps using Apache Axis) and then place the relevant information into a model of some sort, and then display it with the JSP. Doing it this way preserves the model-view-controller paradigm. The JSP is the view and the servlet is the controller. Does that make sense?

    Apache Axis will take a WSDL and create stub Java code to interact with the webservice (create any necessary SOAP envelopes, etc) so that you can interact with it like it was local to the application. That’s definitely the way to go if you have access to a WSDL so you don’t end up rewriting all of the xml generation code inherent to SOAP.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I had some pseudoclasses that shared a large part of their initialization. I decided
I have a class that had an inline member, but I later decided that
I am currently working on an ip-camera project. Initially we decided to use live
I had a Navigation Controller based application and decided to use tab bars. And
Before I decide to use DetailView , I had a url redirect using this
I decided to try to my hand at this, and have had a somewhat
I am going to handle XML files for a project. I had earlier decided
We had previously implemented tapping to zoom and now we've decided to use icons
friendfeed.com uses 302. bit.ly uses 301. I had decided to use 303. Do they
I had a navigation controller based application. And I decided to use tab bars

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.