cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP Error in Outbound

adnanmaqbool
Contributor
0 Kudos

Dear All

I am using the following SOAP request from Java Class to PI.



	String str = "<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:SOAP-ENC=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">"
				+ "<SOAP-ENV:Body>"
				+ "<ns0:MakePayment xmlns:ns0=\"http://tempuri.org/\">"	
	     		+ "<ns0:UserId/>"				
				+ "<ns0:Password/>"								
			    + "<ns0:FromAccountNumber>"+data.get("ACCOUNTNO")+"</ns0:FromAccountNumber>"
				+ "<ns0:ToAccountNumber/>"
			    + "<ns0:TxnAmount>"+data.get("AMOUNT")+"</ns0:TxnAmount>"
		     	+ "<ns0:RRN>"+data.get("PAYMENTID")+"</ns0:RRN>"
			    + "<ns0:TransactionReference>"+"ABL"+data.get("PAYMENTID")+"</ns0:TransactionReference>"
		        + "</ns0:MakePayment>"
	            + "</SOAP-ENV:Body>"
                + "</SOAP-ENV:Envelope>";
                

Edited by: Adnan Maqbool on Dec 15, 2009 6:28 PM

Accepted Solutions (0)

Answers (3)

Answers (3)

adnanmaqbool
Contributor
0 Kudos

Dear All

Sorry previous message was lost.

I am using the following SOAP request from Java Class to PI.



	String str = "<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:SOAP-ENC=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">"
				+ "<SOAP-ENV:Body>"
				+ "<ns0:MakePayment xmlns:ns0=\"http://tempuri.org/\">"	
	     		+ "<ns0:UserId/>"				
				+ "<ns0:Password/>"								
			    + "<ns0:FromAccountNumber>"+data.get("ACCOUNTNO")+"</ns0:FromAccountNumber>"
				+ "<ns0:ToAccountNumber/>"
			    + "<ns0:TxnAmount>"+data.get("AMOUNT")+"</ns0:TxnAmount>"
		     	+ "<ns0:RRN>"+data.get("PAYMENTID")+"</ns0:RRN>"
			    + "<ns0:TransactionReference>"+"ABL"+data.get("PAYMENTID")+"</ns0:TransactionReference>"
		        + "</ns0:MakePayment>"
	            + "</SOAP-ENV:Body>"
                + "</SOAP-ENV:Envelope>";
                

But during technical routing and at call adapter phase I am able to see only the following payload



  <?xml version="1.0" encoding="UTF-8" ?> 
  <ns0:MakePayment xmlns:ns0="http://tempuri.org/" /> 

Payload is not appearing completely

Secondly I am also getting the error



<?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>XIServer</SAP:Category> 
  <SAP:Code area="MAPPING">NO_MAPPINGPROGRAM_FOUND</SAP:Code> 
  <SAP:P1>urn:ooms:dev/xi IM_ABL_TREQ</SAP:P1> 
  <SAP:P2 /> 
  <SAP:P3 /> 
  <SAP:P4 /> 
  <SAP:AdditionalText /> 
  <SAP:ApplicationFaultMessage namespace="" /> 
  <SAP:Stack>Interface mapping urn:ooms:dev/xi IM_ABL_TREQ does not exist in runtime cache</SAP:Stack> 
  <SAP:Retry>N</SAP:Retry> 
  </SAP:Error>

Please note i have already tried cache refresh both delta and complete. I think my string for SOAP above is not correct.

Edited by: Adnan Maqbool on Dec 15, 2009 6:55 PM

adnanmaqbool
Contributor
0 Kudos

Issue resolved , it was due to namespace "ns0 prefixes" which were not mentioned in message mapping within PI.

Shabarish_Nair
Active Contributor
0 Kudos

so??? please always elaborate on the query so that people can contribute to help you.

former_member200962
Active Contributor
0 Kudos

Please ignore