cancel
Showing results for 
Search instead for 
Did you mean: 

Error while posting data to sender axis soap adapter

Former Member
0 Kudos

Hello,

I am trying to post the data to following url

http://sapxis:50000/XIAxisAdapter/MessageServlet?senderService=temp&interface=os%5Ftest&interfaceNam...

But I am getting following error:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<soapenv:Body>

<soapenv:Fault>

<faultcode>soapenv:Server.generalException</faultcode>

<faultstring>failed to invoke the module proessor; nested exception is:

com.sap.aii.af.service.cpa.CPAException: Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=temp;TS=null;AN=os%5Ftest;ANS=http%3A%2F%2Ftest%2Ecom%2Fxi%2FPOC;</faultstring>

<detail>

<ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">sapxis</ns1:hostname>

</detail>

</soapenv:Fault>

</soapenv:Body>

</soapenv:Envelope>

Please help.

Thanks in advance,

Beena.

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

Make sure that you have a sender agreement with the corresponding interface, namespace and sender.

Check if it is active.

Regards

Stefan

Former Member
0 Kudos

Thanks Stefan.

Yes, sender agreement is there and it is also there in CPA Cache.

CPAObject: (Binding) keys: ObjectId=02cb8f5717cc35e582f072b26138a0f8 values: Direction=I

ActionNamespace=http://test.com/xi/POC ToParty= FromParty= HeaderMappingConfig=null MappedActionNamespace=null MappingClassName=null ActionName=os_test AdapterNamespace=http://sap.com/xi/XI/System MappedActionName=null ToService= AdapterSWCV=b38bcd00e47111d7afacde420a1145a5 FromService=temp AdapterType=SOAP MappingId=null Attributes=<?xml version="1.0" encoding ...

http://sapxis:50000/XIAxisAdapter/MessageServlet page also shows the status OK for required components and Warning for optional components.

Am I missing something?

Thanks,

Beena.

Former Member
0 Kudos

I also tried the URL:

http://sapxis:50000/XIAxisAdapter/MessageServlet?senderParty=&senderService=temp&interface=os%5Ftest...

but still I am getting same error:

Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=temp;TS=temp;AN=os%5Ftest;ANS=http%3A%2F%2Ftest%2Ecom%2Fxi%2FPOC;

Please help.

Thanks,

Beena.

stefan_grube
Active Contributor
0 Kudos

Try using the URL without escaped characters.

This worked for me:

/XIAxisAdapter/MessageServlet?senderService=TRVLAGENCY&interface=FlightSeatAvailabilityQuery_Out&interfaceNamespace=http://sap.com/xi/XI/Demo/Agency

Stefan

Former Member
0 Kudos

I tried this but no luck:

http://sapxis:50000/XIAxisAdapter/MessageServlet?senderService=temp&interface=os_test&interfaceNames...

I configured the sender soap adapter with servlet(axis) and deployed the sda. Am I missing any configuration?

I want to write my own handler and convert soap fault exception to response structure in handler. I don't know if this is possible.

I am trying Axis adapter because we can not add custom module in soap sender adapter.

Please help.

Thanks,

Beena.

Answers (1)

Answers (1)

Former Member
0 Kudos

Though this question is marked as answered I do not see a solution!?

Ok. I had exactly the same problem. For me it could simply be solved by adding the parameter receiverService to the url


...out_S&receiverService=&int...

I do not know why this makes a difference.

Edited by: Jochen Damzog on Nov 7, 2008 8:54 AM

SD78
Explorer
0 Kudos

Hi,

yes it works with the empty parameter ...&receiverService=&....

I think this infomation is also missing in the sap note 1039369.

bye

Stefan