cancel
Showing results for 
Search instead for 
Did you mean: 

WS_ADAPTER_SYS_ERROR using WS adapter to call a synchronous webservice

Former Member
0 Kudos

Hi..

I am trying SOAP to WS sync scenario.The receiver webservice is running on the tomcat server in my local machine.No Authentication required to call the webservice.

I am able to successfully call the webservice and get the response when i called the service using stylus studio.

But, when iam tring to call it from PI using WS adapter .. its giving the following error.

<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">

<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="INTERNAL">WS_ADAPTER_SYS_ERROR</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:Stack>System error while calling Web service adapter: Error when initializing SOAP client application: &#39;error_text&#39;</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

I referred the following doc to reslove the erro, but in vain.

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b04408cc-f10e-2c10-b5b7-af11026b...

Could anyone please let me know what might be the cause of error.

Regards

Ram....

Accepted Solutions (1)

Accepted Solutions (1)

former_member200962
Active Contributor
0 Kudos
<SAP:Stack>System error while calling Web service adapter: Error when initializing SOAP client application: 'error_text'</SAP:Stack>

Check this SAP note...made specifically for the above error in WS adapter:

https://service.sap.com/sap/support/notes/1142454

If you need any assistance for WS-Sync scenario the check this:

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c00ca32e-f991-2b10-f5be-97114bd2...

Regards,

Abhishek.

Answers (1)

Answers (1)

Former Member
0 Kudos

Thanks Abhishek

I have checked thenote and the pdf referred by you..The note says to specify valid user with

their correct password in the receiver aggremnet. But as i mentioned earlier, my webservice does not need any authentication to access. i was able to successfully call it from other tools without any authentication.

Regards

Ram,,,

former_member200962
Active Contributor
0 Kudos
But as i mentioned earlier, my webservice does not need any authentication to access. i was able 
to successfully call it from other tools without any authentication.

may be your ws is not requiring any authentication...but will the WS adapter allow for a communication without a valid authentication??...had this been the case there is no need to use WS adapter...you can achieve the same flow using SOAP

the below two para should tell you why for the user-id and password is neede:

From the SAP Note:
In the PI directory, the fields "User Name" and "User Password" for the receiver agreement in the screen 
group "Authrntication" for the "WS" adapter-specific attributes are not specified or the user entered 
cannot be used for a login in the target system (he or she does not exist, the password is incorrect, the 
user is locked, the user is not in its validity period or similar).

This user is not used for the subsequent WS calls, but only for the access to the metadata of the WS 
provider, the so-called Web Services Description Language (WSDL) document.

Regards,

Abhishek.