[ https://issues.apache.org/jira/browse/AXIS2C-1213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609472#action_12609472 ]
Damitha Kumarage commented on AXIS2C-1213: ------------------------------------------ Hi Frederic, To solve your problem Set the operation mep attribute in services.xml. For example <operation name="notify" mep="http://www.w3.org/2004/08/wsdl/in-only"> <parameter name="wsamapping">http://ws.apache.org/axis2/c/samples/notify</parameter> </operation> Yesterday's Supun's fix require that the mep is provided in services.xml. Default is in-out. We should document this in Axis2/C documentations. > server returns HTTP/1.1 500 Internal Server Error for In-Only message > --------------------------------------------------------------------- > > Key: AXIS2C-1213 > URL: https://issues.apache.org/jira/browse/AXIS2C-1213 > Project: Axis2-C > Issue Type: Bug > Affects Versions: Current (Nightly) > Environment: linux fc6 > Reporter: Frederic Heem > Priority: Blocker > > After upgrading from svn, In-Only messages stop working correctly: > * the server returns HTTP/1.1 500 Internal Server Error > * the client returns successfully even though the server returns an error: > Here the conversation between and server: > POST /axis2/services/zigbee HTTP/1.1 > User-Agent: Axis2C/1.4.0 > SOAPAction: "" > Content-Length: 507 > Content-Type: text/xml;charset=UTF-8 > Host: localhost:9090 > <soapenv:Envelope > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header > xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:To>http://localhost:9090/axis2/services/zigbee</wsa:To><wsa:Action>PermitJoining</wsa:Action><wsa:MessageID>5b6a6c86-46b8-1dd1-3722-0014c2e176e7</wsa:MessageID></soapenv:Header><soapenv:Body><n:PermitJoiningParam > > xmlns:n="http://www.telsey.com/DPWS/2008/03/Zigbee"><n:permitDuration>50</n:permitDuration></n:PermitJoiningParam></soapenv:Body></soapenv:Envelope> > HTTP/1.1 500 Internal Server Error > Date: Mon Jun 30 16:22:31 2008 GMT > Server: Axis2C/1.4.0 (Simple Axis2 HTTP Server) > Content-Type: text/xml;charset=UTF-8 > Content-Length: 370 > <soapenv:Envelope > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header></soapenv:Header><soapenv:Body><soapenv:Fault><faultcode>soapenv:Sender</faultcode><faultstring>NULL > parameter was passed when a non NULL parameter was > expected</faultstring><detail><TestServiceError></TestServiceError></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]