on 12-16-2013 11:21 AM
Hi experts,
We have a scenario, web<-->PI<-->RFC, i have created the interface and registered the service in SR.
When i am trying to test the scenario from the SR, i am getting the error below from the 'Web Services Navigator'
Web service returned error. Fault Code: "(http://schemas.xmlsoap.org/soap/envelope/)Server" Fault String: "Server Error"
In the monitoring, I can see the error below for the SOAP channel:
SOAP: Call failed: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.NullPointerException: while trying to invoke the method com.sap.engine.interfaces.messaging.api.Payload.getInputStream() of an object returned from com.sap.aii.adapter.xi.ms.XIMessage.getMainPayload()
I believe this error is coz the SOAP channel is not able to invoke the mapping itself or even convert the input to the source message.
I don't know hw to go around debugging the scenario. I have tested the rfc and part functionality by creating a test scenario file-->pi-->rfc and it is invoking the rfc and generating the output for the value range passed.
Please help in removing this error or at least understanding it.
--
rgds
Shubhnam
Hello,
U can check below settings in SOAP sender channel:
a) Depending upon ur scenario pattern (sync or async) check the QOS mentioned in sender soap channel (BE or EO/EOIO respectively) - do remember to regenerate WSDL file once u do any changes in channel.
b) Make sure u have not checked " Do not use SOAP envelope"
Thanks
Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
i tested the url in chrome and got the following response, i was prompted for username/password:
Servlet com.sap.aii.adapter.soap.web.MessageServlet (Version $Id: //tc/xpi.adapters/NW731EXT_09_REL/src/_soap_application_web_module/webm/api/com/sap/aii/adapter/soap/web/MessageServlet.java#3 $) bound to /MessageServlet
Classname ModuleProcessor: null
Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean
Lookupname for remoteModuleProcessorLookupName: null
ModuleProcessorClass not instantiated
ModuleProcessorLocal is Instance of $Proxy644
ModuleProcessorRemote not instantiated
--
rgds
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shubnam,
Your service is working fine (as you tested with browser) but there is problem with source which is calling the service.
Please check the first two points. Please also check if you get any dump in ECC while RFC call.
Regards,
Harish
Hi Shubnam,
Check that your user has the same roles that the user PIAPPLUSER. Have you checked first the Operation Mapping?, have you checked the scenario from ID?
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shubhnam,
With SAP_XI_APPL_SERV_USER role had to be necessary according SAP documentation Standard Users (AEX) - SAP NetWeaver Process Integration Security Guide - SAP Library
Only for test purpose you can assign to the user the PISUPER roles, you can do it to know if there is a role problem or the problem is another.
Regards.
Hi,
Take your Sender Agreement and get the WSDL. Take that file and use e.g. soapUI to test to flow
Kind regards,
Dimitri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dimitri,
thnx for the response.
i'll get the SOAPUI installed frm the security team and use it for testing.
Ours is an AEX system, ICO's only, no sender agreements etc. So the WSDL from ICO will do , i hope.
Can u plz tell hw testing frm Web service Navigator from SR is not as gud as from SoapUI?
--
rgds
Hi Shubnam,
are you using the web service address in the below format
http://<hostname>:<port>/XISOAPAdapter/MessageServlet?channel ........
Regards,
Harish
Hi Harish,
The url is:
http://<host>:50100/XISOAPAdapter/MessageServlet?senderParty=&senderService=BS_MYPI&receiverParty=&receiverService=&interface=SI_MyPI_WS&interfaceNamespace=http://XXXX.XXX
--
rgds
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.