Link to home
Start Free TrialLog in
Avatar of HarishVembu
HarishVembu

asked on

Calling a JAX-WS based web service from Classic ASP client

Hi/Hello

Context:

Calling a JEE6 based JAX-WS web service from Classic ASP client .

Problem:
I could not call the JAX-WS from my classic ASP page.

Error : I am simply getting 404 error when accessing this web service from ASP client hosted on IIS server.

Do I need to build SOAP request message and pass in the parameters?

Based on your reply I will be asking subsequent questions.


Thanks & Best Regards

Harish

JSimpCalcWebService.java
wsclient.txt
NumberFormater.java
SOLUTION
Avatar of BigRat
BigRat
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of HarishVembu
HarishVembu

ASKER


Some additional information.

I am trying hit the Java Web Service (JAX-WS) from a different machine. The web service is deployed on Glassfish 3 server.

404 is somewhat puzzling . Let me check again

@BigRat - Did you check the classic ASP code for calling JAX-WS web service??

Let me know

Thanks & Best Regards

Harish
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks Big Rat,

I had already gone through the above link.

I am attaching a modified ASP file with SOAP request as reference . ASP is complaining on the line

xmlhttp.send SOAPRequest

when the page is submitted.

Would someone be able to go through the ASP code and suggest any modification needed in it to connect to JAX-WS web service.

Any suggestions/assistance would be much appreciated.


Thanks & Best Regards

Harish
WSSOAPClient.txt
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Yes Big Rat that's what I did exactly before and it worked. Anyway thanks for reiterating it.

Question : Is this way of sending xml over http through XMLHttp request object is similar to that of a REST POST call?

Also what's the advantages of MS-SOAP toolkit to this approach through XMLHttp request.

Let me know.

Thanks & Best Regards

Harish
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Guy Hengel [angelIII / a3]
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.