Soap Response Error. Pls advice urgent
Hi All,
I am using Soap Receiver Adapter.
*My Soap Request is:*
<?xml version="1.0" encoding="UTF-8" ?>
- <ns1:SendMessage xmlns:ns1="urn:MMWebSrvService">
<strUsername>XIWSDL</strUsername>
<strPassword>XIWSDL</strPassword>
<strFrom>XI</strFrom>
<strTo>123</strTo>
<strMessage>abc</strMessage>
<strSubject>333</strSubject>
<strService>/SMPP/1</strService>
<nOptions>0</nOptions>
</ns1:SendMessage>
*My Soap Response from server is:*
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Inbound Message
-->
- <tns:SendMessageResponse xmlns:tns="urn:MMWebSrvService" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:types="urn:MMWebSrvService/encodedTypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<return xsi:type="xsd:int">-1</return>
<nIndex xsi:type="xsd:int">0</nIndex>
<strErrorDescription xsi:type="xsd:string">String reference not set to an instance of a String. Parameter name: s</strErrorDescription>
</tns:SendMessageResponse>
Does anyone has idea of the above error?
I have also got one link:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=818243&SiteID=1
Regards
Henry,,
Take a look at this...
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=818243&SiteID=1
you are getting a error response back from your soap partner..you have to have them to fix it..The above link is good if they are using dot net which is what i think it is..
Regards
Ravi Raman
Similar Messages
-
UDF in message mapping instead of Java Mapping. Pls advice urgent
Hi All,
My scenario
CRM --- XI -- CRM
In XI I have to open socket connection.
Pls refer link:
/people/saravanakumar.kuppusamy2/blog/2005/12/15/socket-integration-with-xi
Can Java Mapping code given in above link for socket connection can be used in Message Mapping (CRM -- CRM)UDF?
Pls advice urgent
RegardsHi Henry,
I understood your requirement.
But as per the architecture of XI/PI some message has to trigger your scenario.
In this case there is no adapter where you can directly communicate with CRM system.
Do one thing configure a dummy scenario on the sender side.
Use File adapter for simplicity. once it pools the file with some dummy data in the file it comes to Interface mapping(message mapping) of the PIPELINE steps. Now use the code as you mentioned above(within UDF) for opening socket to CRM system and implement you business logic within that program and write the response to target interface which will infact talk with CRM system.
Dont forget to do the coding in an infinite loop with some delay (if required). Other wise every time you have to put a message for File Adapter for triggering purposes.
You can also acheive the same if you use Java Mapping instead of Graphical mapping with UDF(code for Opening socket and business logic). I suggest you to use Java Mapping.
I dont know how you will comunicate with CRM system on receiver side.?
Thanks,
Gujjeti -
Webservice sender and Receiver. Pls advice urgent
Hi All,
My Scenario
System A (WebService) -- XI -- System B (WebService)
Pls let me know
1. What does it mean by WebService needs WebServer?
2. For System A (WebService) -- XI
Do I require WebServer to be installed at System A or XI?
3. For XI -- System B (WebService)
Do I require WebServer to be installed at System B or XI?
Pls advice urgent.
RegardsHi Piyush,
Hi Piyush,
System A (WebService) -- XI --- System B (WebService)
I know the flow -- like both webservices will be impoted as External Definations and will me mapped.
I was asking about Webserver.
a. XI --- System B (WebService)
System B is providing wsdl.
WebServer is required at System B -- fine.
b. System A (WebService) -- XI
System A is providing WebService(wsdl) to XI
XI is NOT providing WebService to System A.
So It is a webservice(wsdl) of System A. It will be given to XI and XI will import it as wsdl.
So do we or not require require Webserver in
System A or XI?
Pls tell System A (WebService) -- XI
Webserver part.
Regards -
HTTP adapter. Pls advice urgent
Hi,
Some cleint wants to send data to PI (7.0) through HTTP.
Now should that client send through HTTP or it can also use
HTTPS.
Pls advice urgent.
RegardsHi,
All XI runtime components using the HTTP protocol support the encryption of the HTTP data stream by means of the SSL protocol, also known as HTTPS. HTTPS data streams are completely transparent to the Exchange Infrastructure
HTTPS (Hyper Text Transfer Protocol Secure) is a secure version of the Hyper Text Transfer Protocol (http). Secure means of transferring data using the https protocol in the World Wide Web where secure ecommerce transactions, such as online banking transactions and other financial transactions are involved.
Https encrypts the session with a digital certificate i.e., HTTP over SSL (Secure Sockets Layer) which can be used by Web browsers and HTTPS - capable client programs.
If the website begins with https:// instead of http://, it is a secure site. Almost 99% of the browsers can connect to web servers either using http or https. The address bar in the browser will begin with https instead of http, if a web site is secured.
HTTPS Protocol work with the combination of programs including the browser programs which takes care of the encryption/decryption routines that exist on the web hosting servers.
HTTP data is sent over TCP/IP port 80, whereas HTTPS data is sent over port 443.
HTTPS comes in two flavors, both ensuring the confidentiality of data sent over the network
1)Server authentication :
Only the HTTP server identifies itself with a certificate that is to be verified by the client.
2)Client authentication:
Additionally, the HTTP client identifies itself with a certificate that is to be verified by the server
Regards,
sangeetha -
Soap Receiver Adapter Error. Pls advice urgent
Hi All,
While using Soap Receiver Adapter for synchronous communication
*My Soap Request is:*
<?xml version="1.0" encoding="UTF-8" ?>
<ns1:SendMessage xmlns:ns1="urn:MMWebSrvService">
<strFrom>XI</strFrom>
</ns1:SendMessage>
*My Soap Response from server is:*
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!-- Inbound Message
-->
<tns:SendMessageResponse xmlns:tns="urn:MMWebSrvService" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<return xsi:type="xsd:int">-1</return>
<strErrorDescription xsi:type="xsd:string">String reference not set to an instance of a String. Parameter name: s</strErrorDescription>
</tns:SendMessageResponse>
How to resolve the error.
RegardsHenry,
Your xml message is not xsd compliant...see if you can generate a xml message using your wsdl with random values, compare that to your imcoming msg..and thats your issue..
Hope that helps
Regards
Ravi Raman
Reward points if helpful ! -
XI to WebService . Pls advice urgent
Hi All,
Scenario:
There is some response from System A back into XI.
I need to send response from XI to System B and get response back to XI.
System B has Synchronous Web Service and has provided its WSDL to XI.
Question:
1. Do I need to Import Webservice WSDL as External Defination in XI.?
2.Do I need to use only Soap Receiver Adapter in XI as it is Synchronous Web Service and XI can get response back from that System or also I need Soap Sender Adapter ?
RegardsHi Sudeep,
I am sending this xml from runtime workbench:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_REQ_TEST xmlns:ns0="http://CRM">
<MobileNo>1</MobileNo>
<Message>2</Message>
<ActivationCode>3</ActivationCode>
<StrService>4</StrService>
<StrFrom>5</StrFrom>
<StrOptions>6</StrOptions>
</ns0:MT_REQ_TEST>
The below XML forms after mapping
<?xml version="1.0" encoding="UTF-8" ?>
- <ns1:SendMessageSoapIn xmlns:ns1="urn:MMWebSrvService">
<strFrom>XI</strFrom>
<strTo>1</strTo>
<strMessage>2</strMessage>
<strSubject>3</strSubject>
<strService>abc</strService>
<nOptions>0</nOptions>
</ns1:SendMessageSoapIn>
In Soap Receiver Adapter
URL -- http://172.20.80.11/MMWebService/MMWebSrv.asmx
Soap action -- #SendMessage
The error I am getting now:
<SAP:AdditionalText>soap fault: Server was unable to read request. ---> There is an error in XML document (1, 97). ---> <SendMessageSoapIn xmlns='urn:MMWebSrvService'> was not expected.</SAP:AdditionalText>
Pls advice
Regards -
WebService Receiver Problem. Pls advice urgent.
Hi All,
I have R/3 (RFC) -- XI -- R/3(WebService) Scenario.
Now when I test my WebService in R/3 using wsadmin command it works fine.
But If I import my webservice as wsdl file and use it in Soap Receicer Adapter and use XI I get error:
<SAP:Category>XIAdapterFramework</SAP:Category>
<SAP:Code area="MESSAGE">GENERAL</SAP:Code>
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: sapd03ci.alkhaliji.bank</SAP:AdditionalText>
Pls advice very urgent
regardsHi RAC,
May I know where this R/3 webservice located.
In your landscape or not?
Thanks
Gujjeti -
Soap response Error when processing XML CF.
Hello,
I have problems with soap response and wondered if you could give some advice.
Every time I send my message via soap I get the following error:
com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Error when processing XML CF.
Is it possible that the communication is aborted and my response message mapping is never started?
(Additional info: I tried to create an integration process and am not able to evaluate the response.)
Thanks a lot for your help.
Regards,
Juliahi,
do you see any more error details in :
http://xiserver:port/MessagingSystem/monitor
did you check logs in visual admin ?
>>>>Is it possible that the communication is aborted and my response message mapping is never started?
yes - if the response is not ok the mapping may not be started
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
HI Experts,
Here my scenario is RFC PI SOAP synchronous interface. While sending the message from PI receiver system is expeting SAOP envelop I added this envelop with xslt mapping. Even response message is coming with SOAP envelop I removed with Xslt.. now I am getting below error message in response:
*Here i am not using any authoentication. it is not required..*
In SXMB_moni:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!--
Inbound Message
-->
- <SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SAP:Category>XIAdapterFramework</SAP:Category>
<SAP:Code area="MESSAGE">GENERAL</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized</SAP:AdditionalText>
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
In communication channel:
Description
23.11.2011 14:45:11.557 Information The message was successfully received by the messaging system. Protocol: XI URL: http://r3vidci.got.volvo.net:52000/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER
23.11.2011 14:45:11.564 Information Using connection SOAP_http://sap.com/xi/XI/System. Trying to put the message into the request queue.
23.11.2011 14:45:11.568 Information Message successfully put into the queue.
23.11.2011 14:45:11.572 Information The message was successfully retrieved from the request queue.
23.11.2011 14:45:11.573 Information The message status was set to DLNG.
23.11.2011 14:45:11.577 Information Delivering to channel: SOAP_Receiver_BOSS_VID
23.11.2011 14:45:11.577 Information MP: entering1
23.11.2011 14:45:11.579 Information MP: processing local module localejbs/AF_Modules/MessageTransformBean
23.11.2011 14:45:11.599 Information Transform: using Transform.Class: $identity
23.11.2011 14:45:11.634 Information Transform: transforming the payload ...
23.11.2011 14:45:11.637 Information Transform: successfully transformed
23.11.2011 14:45:11.638 Information MP: processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
23.11.2011 14:45:11.676 Information SOAP: request message entering the adapter with user J2EE_GUEST
23.11.2011 14:45:11.695 Information SOAP: completed the processing
23.11.2011 14:45:11.696 Information SOAP: continuing to response message bf2ba0ac-15e1-11e1-cc01-00000c601d4e
23.11.2011 14:45:11.696 Error SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized
23.11.2011 14:45:11.698 Error MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized
23.11.2011 14:45:11.699 Error Adapter Framework caught exception: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized
23.11.2011 14:45:11.700 Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized. Setting message to status failed.23.11.2011 14:45:11.704 Error The message status was set to FAIL.Hi Rajesh,
I tried with XMLSPY.. i am able to send and get the responce witout any authentication.. I gone through vijay's blog... but i din't find any solution in that..
one more thing.. here inteface is sending from SAP portal system > SAP ECC> SAPI--> webservice(Microsoft system). whenever Portal team sending the message to SAP they are getting below error"
call to messaging system failed: com.sap.engine.interfaces.messaging.api.exception.MessagingException: XIAdapterFramework:GENER
In PI I am getting below error:
.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized -
Idoc to soap scenario - soap response error
hi
i am using pi 731 single stack.
the scenario is idoc to soap. the message mapping is working fine and output is generated successfully.
the message is failing in mesage monitor and communication channel monitor. error is -
Exception caught by adapter framework: SOAP: Response message contains an errorXIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: VEN-OMI-1007:
This scenario is async scenario. How to soap remove this response message error.
rgdsDear,
IDoc to Soap scenario we have to import wsdl at receiver end and map the field from the mapping document but some times receiver end some changes may happen. if it is correct only your mapping we have to conclude from the below points.
1. Check the mapping in Message Mapping and Operation Mapping Test and conclude.
2. you should check url from receiver that is correct or wrong.
3. ask the wsdl from receiver end.
the given ED and receiver side application is same this type of error will not come.
Please check at receiver application or else what ever new fields are added in reciver may be miss mach of ED.
Regards,
Kiran Polani -
HTTP Synchronous Scenario. Pls advice urgent
Hi All,
My scenario
System A -- XI --- System B
This is Synchronous HTTP scenario.
I tested in XI RWB.
a. I took Message Mapping Source xml structure and sent from RWB it worked fine.
b. I took xsd of Request Data Type and sent from RWB it shows error
"MAPPING">EXCEPTION_DURING_EXECUTE"
Now In real scenario System A will send data to XI.
So does it mean that I need to send Message Mapping Source xml structure to System A and not xsd of Request Data Type
Pls advice
RegardsHi,
Check the message status in SXMB_MONI and let me know the trace and error message.
the below message shows that there is some problem in mapping, u have not done the correct mapping between source and target.
EXCEPTION_DURING_EXECUTE"
test the message in message mapping using test tab and let me know the result.
chirag -
Same Sender and Receiver File Name. Pls advice urgent
Hi All,
My sender file name is auto generated number so
it is dynamic in nature.
ex. "abc1.txt"
"abc2.txt"
Now In my Sender File Adapter I cannot give
File Name hard coded as my sender file name is auto generated number.
Also I want same file name received at receving end.
File Sender -- "abc1.txt"
File Receiver -- "abc1.txt"
File Sender -- "abc2.txt"
File Receiver -- "abc2.txt"
Pls advice.
RegardsHi Rider,
All your sender files have .txt extension but the name is not constant(dynamic in nature).Than in this case to pick ur file u can use the *.txt as ur sender file name.Than all the files with .txt extension in the source folder specified would be picked.
Than u can proceed in the same way given in this blog
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
Please let me know if u need any information
Thanks,
Bhargav
Note:Award points if found useful -
Hi Experts
I am working on a RFC to SOAP scenario, where RFC is Asynchronous and SOAP is Synchronous,
Message are being sent to SOAP and Response are coming back from Reciver system into PI server and it is failing i.e error status because there is no map for the response,
How can we make the Response message not to error out without doing any mapping in PI 7.0
Thanks
PRHI,
When sending the RFC, send asynchronously, meaning call 'in background task' and 'commit work'. Since the QOS for this type of call is EO, the asynchronous nature will be propagated to the receiver end and you should see no response being generated.
This can help you:
/people/swaroopa.vishwanath/blog/2006/12/28/send-rfc-to-sap-xi-150-asynchronous
And Hope that you have removed expor parameters of RFC and reimported in to ESR.
Let us know if this resolves your problem
Thanks
Divyesh Vasani -
User Defined Function (UDF) help required. Pls advice urgent.
Hi ,
CRM -- XI (UDF) -- Socket Connection
Now in User Defined Function (UDF) of Message Mapping I will open Socket Connection.
Send CRM XML request to socket and get XML response from Socket and then map to some system.
Can I write Java Class code in User Defined Function (UDF) of Message Mapping instead of Java Mapping in blog below?
/people/saravanakumar.kuppusamy2/blog/2005/12/15/socket-integration-with-xi
RegardsHenry,
Do you have a structure for your response...if you do then you can do extended reciever det with sync/async..shouldent matter, i just tried it and i dont get any error.
in your reciever determination..Check the box for standard rec det then add your first condition..of the value of a field to true..then send to A..
then you select add condition..and add for second reciever..that should be it, you shouldent need a bpm for such a simple scenario..it definetly is an overkill.
Regards
Ravi Raman -
FTP to FTP scenario. Pls advice urgent
Hi,
I have FTP to FTP scenario.
Do I need to install FTP server on both
Sender and Receiver File Systems
RegardsHi Aashish,
Since my Sender File System and Receiver File System are different:
1. I will install FTP Server A on Sender File System.
2. I will install FTP Server B on Receiver File System.
3. I will open the port for FTP request -- Port 21
4. I will open the port for FTP response -- Port 21
5. I will provide all authrozaitions
Pls let me know if anything missing
Maybe you are looking for
-
REP-501: Unable to connect to the specified database in Report Server
I Get a 'REP-501: Unable to connect to the specified database' error, when trying to call a report from a button on a Forms 10g application, through a report object: A portion of the code button: report_id := find_report_object('REPORT'); set_report_
-
Muse CC 2014.1 Installation Fails
I have been using Muse CC 2014 on a PC with a fully-updated version of Windows 7. Recently, the CC Desktop App informed me that a new version was available so I tried to install it from there. I got the error message below. Exit Code: 7 Please see sp
-
How do I do a screen capture on 4S??
Hey guys, how do i perform a screen capture on the 4S??? I realize it is probably really simple but ive yet to figure it out.. cheers
-
I am using NW 46C, WEBAS 620 SP20 XI30 In SCOT system has 2 nodes under INT IMAIL SMTP IMAIL we are using for xml messages and SAPconnect mail, which is working fine..., SMTP for CCMS alerts configuration purpose The problem is when I Goto SMTP in Ad
-
this is now getting urgent as i totally dont have a phone to use. when switching on my iphone 3g 8G it will just let me enter my pin code then after that will just show the sign of a USB pointing at the itunes logo.if anyone knows the cure to this, h