wood burning stoves 2.0*
The moose likes Web Services and the fly likes Calling enterprise webservice from js Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Calling enterprise webservice from js" Watch "Calling enterprise webservice from js" New topic

Calling enterprise webservice from js

Trupti raikar

Joined: Dec 26, 2008
Posts: 1
I am trying to call below wenservice.

my request is
<?xml version="1.0" encoding="UTF-8" ?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Body><ns1 urchaseRequestByIDQuery_sync xmlns:ns1="http://sap.com/xi/SAPGlobal20/Global"><PurchaseRequestSelectionByID><PurchaseRequestID xmlns ns="http://sap.com/xi/APPL/SE/Global">10000001</PurchaseRequestID></PurchaseRequestSelectionByID></ns1 urchaseRequestByIDQuery_sync></SOAP-ENV:Body></SOAP-ENV:Envelope>

I am calling this webservice from javascript.

but instead of response data i am getting the comple wsdl as response.

can any one help me?

It is sorta covered in the JavaRanch Style Guide.
subject: Calling enterprise webservice from js
Similar Threads
Soap Envelope not version 1.1
Webservices and Websphere 5.1
SOAP Request and Response problem
SOAPTextElement in my SOAPBody
NullPointerException returned from webservice