Hi, I have an endpoint with a simple web service deployed on websphere.
I get a soap fault saying "Could not resolve to an operation. The
message contains an element named
""{http://ws.apache.org/commons/ns/payload}text"", but this does not
match any operation of the target port.
Endpoint is configured like this:
<syn:endpoint name="testWS">
<syn:address uri="http://localhost:9080/testWS/services/Test"
format="soap11">
<enableAddressing/>
</syn:address>
</syn:endpoint>
Do you know how to resolve this? Below is the full response:
<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><soapenv:Body>
<soapenv:Fault><faultcode>soapenv:Client</faultcode><faultstring>WSWS327
7E: Error: Could not resolve to an operation. The message contains an
element named ""{http://ws.apache.org/commons/ns/payload}text"", but
this does not match any operation of the target port. Debug: name:
services/Test
implClass: class ca.remsy.test.Test
implClassLoader:
com.ibm.ws.classloader.compoundclassloa...@6b1c6b1c
Local ClassPath: C:\Documents and
Settings\remsy\IBM\rationalsdp7.0\workspace\testWS\WebContent\WEB-INF\cl
asses;C:\Documents and
Settings\remsy\IBM\rationalsdp7.0\workspace\testWS\WebContent
Delegation Mode: PARENT_FIRST
defaultNS: null
endpointURL: null
OperationDesc[0]:
name: processMessage
returnQName: processMessageReturn
returnType: {http://www.w3.org/2001/XMLSchema}string
returnClass: class java.lang.String
elementQName:{http://test.remsy.ca}processMessage
soapAction: processMessage
style: wrapped
use: literal
numInParams: 1
properties:
KEY(ResponseNamespace)
VALUE(http://test.remsy.ca)
KEY(ResponseLocalPart)
VALUE(processMessageResponse)
KEY(buildNum)
VALUE(cf90721.10)
KEY(ServiceQName)
VALUE({http://test.remsy.ca}TestService)
KEY(portTypeQName)
VALUE({http://test.remsy.ca}Test)
KEY(outputName)
VALUE(processMessageResponse)
KEY(inputMessageQName)
VALUE({http://test.remsy.ca}processMessageRequest)
KEY(outputMessageQName)
VALUE({http://test.remsy.ca}processMessageResponse)
KEY(usingAddressing)
VALUE(false)
KEY(inputName)
VALUE(processMessageRequest)
KEY(targetNamespace)
VALUE(http://test.remsy.ca)
method:public java.lang.String
ca.remsy.test.Test.processMessage(java.lang.String)
ParameterDesc[0]:
identity:
com.ibm.ws.webservices.engine.description.parameterd...@cec0cec
name: msg
mode: IN
isReturn: false
typeQName: {http://www.w3.org/2001/XMLSchema}string
javaType: class java.lang.String
javaSigType:class java.lang.String
inHeader: false
outHeader: false
minOccursIs0:false
maxOccursIs1:true
properties:
KEY(partName)
VALUE(string)
KEY(partQNameString)
VALUE({http://www.w3.org/2001/XMLSchema}string)
</faultstring></soapenv:Fault></soapenv:Body></soapenv:Envelope>
_______________________________________________
Esb-java-user mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user