on 05-18-2009 9:35 AM
Hi,
After calling the Webservice from XI, got error message as
java.lang.NullPointerException
What might be the problem.
Thanks in Advance!
Regards,
Sreenivas.
solved..problem with webservice structure
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sreenivas,
As you see the error the SOAP fault message is throwing , it is wrong format of data is getting posted into the webservice. Please check the data and how the data must get posted into webservice.
Regards,
Arijit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can go thru this link it might help you .http://www.jitterbit.com/Wiki/index.php?title=How_To_Transform_from_a_Web_Service_Response_to_an_XML_Document
Regards,
Arijit Guha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As the error shows as NullPointerException it is quite obvious that values are not getting passed as parameters.Please check the config of the SOAP adapter as well as payload whether datas are passed correctly or not.
Thanks and regards,
Arijit Guha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> Hello,
>
> Thanks for the reply.
>
> SOAP adater is configured correctly with all parameters.
>
> Is there any way to find out, which fileds are mandatory in Webservice structure. Currently data is passed to few structures, not for all.
>
> Regards,
> Sreenivas.
you should be able to find that information in your mapping itself (in case a graphical). Look into the occurrences of the fields. If it is having the minimum occurrence as 1 then it is mandatory.
But i dont think the null pointer issue is to do with the data but rather the adapter configuration.
So look into the blog i have mentioned and confirm the parameters you have given.
Also make sure the adapter is updated in the cache.
do a complete cache refresh via SXI_CACHE and also a refresh of the CPA cache - http:// <server>:<port> /CPACache/refresh?mode=delta|full
Hi,
In RWB, am getting SOAP resopnse error
and in SXMB_MONI, getting inbound message as
************************************
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Inbound Message
-->
- <INVALID_INPUT>
<description>java.lang.NullPointerException</description>
</INVALID_INPUT>
************************************
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30"
xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>Application</SAP:Category>
<SAP:Code area="UNKNOWN">APPLICATION_ERROR</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>application fault</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="">INVALID_INPUT</SAP:ApplicationFaultMessage>
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
***********************************
Regards,
Sreenivas.
Please make sure you have given the right parameters in the SOAP adapter - /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
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.