Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9656

Re: Consuming SAP RFC web service via Ajax javascript.

$
0
0

Hi Anikeev,

 

In the IE input the URL http://hostnam:8000/sap/bc/srt/rfc/sap/zws_msk_for_npi/200/zws_msk_for_npi/zws_msk_for_npi?sap

-client=200  The IE doesn't show anything, is just a blank page. is it possible to check what is the problems please ?

 

And also, call that URL via Ajas, the error textStatus shows the "Internal Server Error".

 

The responseText likes the Wrong SOAP Version.

 

Request Error Message:

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">

     <soap:Header/>

     <soap:Body>

          <urn:ZmskForNpi>

               <IInt1>12</IInt1>

               <IInt2>2</IInt2>

          </urn:ZmskForNpi>

     </soap:Body>

</soap:Envelope>

 

Response Error Message:

<soap-env:Envelope xmlns:soap-env="soap-env:VersionMismatchhttp://schemas.xmlsoap.org/soap/envelope/">

     <soap-env:Header/>

     <soap-env:Body>

          <soap-env:Fault>

               <faultcode>soap-env:VersionMismatch</faultcode>

               <faultstring xml:lang="en">Wrong SOAP Version</faultstring>

               <detail/>

          </soap-env:Fault>

     </soap-env:Body>

</soap-env:Envelope>

 

 

Thanks for your response.


Viewing all articles
Browse latest Browse all 9656

Trending Articles