cancel
Showing results for 
Search instead for 
Did you mean: 

Application error in SXMB_MONI in Proxy to webservice

Former Member
0 Kudos

Hi all

I've constructed an proxy -> XI -> External web service scenario.

In the sxmb_moni transaction i got two response message, I got two different error message. One is

"com.sap.security.core.server.ws.service.WSSecurityException". Another is "Unable to determine name of mapping

program".I think I made no mistake during the design and configuration process.All this makes me confused. I still

and soap response payload is

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Call Adapter

-->

<ns1:com.sap.security.core.server.ws.service.WSSecurityException xmlns:ns1="http://sap-j2ee-engine/error">000D60A85C830071000000330000391C0004400D9EC1282E : Found 0 operation definitions using keys: Key name:'first-body-element-ns' key value:'urn:TestServiceBeanWsd/TestServiceBeanVi/rpc'; Key name:'first-body-element-name' key value:'sayHelloIn';</ns1:com.sap.security.core.server.ws.service.WSSecurityException>

haven't found a way to resolve this.

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Kiran.

Import the wsdl of your web service from the wsnavigator. You'll find a file called "BINDINGS". Open that. In that you will be able to see all the operations in the format

"<wsdl:operation name="addition">".

Find the name of the operation that you want to perform and specify that in the "SOAP Action" option of your SOAP communication channel.

And also make sure you are giving the correct url for your webservice.

You can also find your webservice in the file called "MAIN" under the same wsdl folder in the format "<soap:address location="http://host:port/webservicename/Config1?style=document"/>".

Hope this helps you.

Regards,

Hari.

Former Member
0 Kudos

i gave all the deatils which you said still iam getting apllication error below

<SAP:ApplicationFaultMessage namespace="http://sap-j2ee-engine/error">com.sap.security.core.server.ws.service.WSSecurityException</SAP:ApplicationFaultMessage>

<SAP:Stack />

please anybody help me out its very urgent.

answer will be rewarded.

kiran.

prateek
Active Contributor
0 Kudos

I would suggest to go for trace using TCPGateway. We also followed the same practice and got the more detailed error.

/people/stefan.grube/blog/2007/03/29/troubleshooting-soap-http-and-mail-adapter-scenarios-with-tcpgateway

Regards,

Prateek

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

Did't u check the External Webservice whether it is working properly for the same inputs

which WSDL are u using

Yuga

Former Member
0 Kudos

Thanks for your reply

we tested their side with some values it is giving response.

any clues appreciated

Former Member
0 Kudos

Hi all,

<b>what is soap action must i give in this wsdl</b>

<?xml version="1.0" encoding="ISO-8859-1"?>

<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="urn:TestServiceBeanWsd/TestServiceBeanVi/rpc">

<wsdl:types>

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:za.co.lonmin.webservicebean" targetNamespace="urn:za.co.lonmin.webservicebean" elementFormDefault="qualified">

<xsd:complexType name="ReturnType">

<xsd:sequence>

<xsd:element name="resultCode" type="xsd:int" />

<xsd:element name="transactionOK" type="xsd:string" minOccurs="0" nillable="true" />

</xsd:sequence>

</xsd:complexType>

<xsd:complexType name="EmployeeData">

<xsd:sequence>

<xsd:element name="dateOfEngagement" type="xsd:dateTime" minOccurs="0" nillable="true" />

<xsd:element name="dateOfTermination" type="xsd:dateTime" minOccurs="0" nillable="true" />

<xsd:element name="employeeNumber" type="xsd:string" minOccurs="0" nillable="true" />

<xsd:element name="firstname" type="xsd:string" minOccurs="0" nillable="true" />

<xsd:element name="lastname" type="xsd:string" minOccurs="0" nillable="true" />

<xsd:element name="occupationCategoryCode" type="xsd:int" />

</xsd:sequence>

</xsd:complexType>

<xsd:complexType name="ArrayOfEmployeeData">

<xsd:sequence>

<xsd:element name="EmployeeData" type="EmployeeData" minOccurs="0" maxOccurs="unbounded" nillable="true" />

</xsd:sequence>

</xsd:complexType>

</xsd:schema>

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<xsd:complexType xmlns:ns1="urn:za.co.lonmin.webservicebean" name="sayHelloIn">

<xsd:sequence>

<xsd:element name="action" type="xsd:string" />

<xsd:element name="message" type="ns1:ArrayOfEmployeeData" />

</xsd:sequence>

</xsd:complexType>

</xsd:schema>

</wsdl:types>

<wsdl:message name="sayHelloIn">

<wsdl:part name="sayHelloIn" type="sayHelloIn" />

</wsdl:message>

<wsdl:message name="sayHelloOut">

<wsdl:part xmlns:generateduniqueprefix0="urn:za.co.lonmin.webservicebean" name="Response" type="generateduniqueprefix0:ReturnType" />

</wsdl:message>

</wsdl:definitions>

Thanks

kiran

Former Member
0 Kudos

Hi Kiran,

1) Just make sure the object under this senareio that u have made have been activated or not........

2) Test u r mapping with some sample values

3) And also check the values that u have specified in Payload it could be sometimes there are worngly metioned

Reward with points if helpful

Regard

Sai Ganesh