You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Frederic Heem (JIRA)" <ji...@apache.org> on 2008/06/30 17:29:45 UTC

[jira] Created: (AXIS2C-1213) server returns HTTP/1.1 500 Internal Server Error for In-Only message

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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXIS2C-1213) server returns HTTP/1.1 500 Internal Server Error for In-Only message

Posted by "Damitha Kumarage (JIRA)" <ji...@apache.org>.
    [ 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Closed: (AXIS2C-1213) server returns HTTP/1.1 500 Internal Server Error for In-Only message

Posted by "Frederic Heem (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-1213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frederic Heem closed AXIS2C-1213.
---------------------------------

       Resolution: Fixed
    Fix Version/s: Current (Nightly)

Adding the attribute mep service.xml makes it work, so this issue can be closed. 
Thanks everyone.

> 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
>            Assignee: Supun Kamburugamuva
>            Priority: Critical
>             Fix For: Current (Nightly)
>
>
> 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXIS2C-1213) server returns HTTP/1.1 500 Internal Server Error for In-Only message

Posted by "Frederic Heem (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-1213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609265#action_12609265 ] 

Frederic Heem commented on AXIS2C-1213:
---------------------------------------

When it fails, here is the server output :

[Mon Jun 30 16:38:35 2008] [debug] http_worker.c(195) Client HTTP version HTTP/1.1
[Mon Jun 30 16:38:35 2008] [debug] soap_builder.c(895) Identified soap version is soap11
[Mon Jun 30 16:38:35 2008] [debug] phase.c(210) Invoke the handler request_uri_based_dispatcher within the phase Transport
[Mon Jun 30 16:38:35 2008] [debug] req_uri_disp.c(100) Checking for service using target endpoint address : http://127.0.0.1:9090/axis2/services/zigbee
[Mon Jun 30 16:38:35 2008] [debug] req_uri_disp.c(121) Service found using target endpoint address
[Mon Jun 30 16:38:35 2008] [debug] phase.c(210) Invoke the handler AddressingInHandler within the phase Transport
[Mon Jun 30 16:38:35 2008] [info]  Starting addressing in handler
[Mon Jun 30 16:38:35 2008] [debug] phase.c(210) Invoke the handler addressing_based_dispatcher within the phase Transport
[Mon Jun 30 16:38:35 2008] [debug] addr_disp.c(179) Checking for operation using WSA Action : PermitJoining
[Mon Jun 30 16:38:35 2008] [debug] addr_disp.c(185) Operation found using WSA Action
[Mon Jun 30 16:38:35 2008] [debug] phase.c(210) Invoke the handler rest_dispatcher within the phase Dispatch
[Mon Jun 30 16:38:35 2008] [debug] phase.c(210) Invoke the handler soap_message_body_based_dispatcher within the phase Dispatch
[Mon Jun 30 16:38:35 2008] [debug] phase.c(210) Invoke the handler soap_action_based_dispatcher within the phase Dispatch
[Mon Jun 30 16:38:35 2008] [debug] phase.c(210) Invoke the handler dispatch_post_conditions_evaluator within the phase PostDispatch
[Mon Jun 30 16:38:35 2008] [debug] phase.c(210) Invoke the handler context_handler within the phase PostDispatch
[Mon Jun 30 16:38:35 2008] [debug] phase.c(210) Invoke the handler SavanInHandler within the phase SavanPhase
[Mon Jun 30 16:38:35 2008] [debug] db_mgr.c(913) [savan] Database /tmp/savan_db already created.
[Mon Jun 30 16:38:35 2008] [info]  [savan][in handler] Unhandled message type
[Mon Jun 30 16:38:35 2008] [info]  axis2_skel_zigbee.c
[Mon Jun 30 16:38:35 2008] [debug] gateway_api.c(111) GatewayPermitJoining 250
[Mon Jun 30 16:38:35 2008] [error] http_response_writer.c(156) failed to write to streamstring
 of length 2
[Mon Jun 30 16:38:35 2008] [error] simple_http_svr_conn.c(402) Error in writing the response in response writer
[Mon Jun 30 16:38:35 2008] [warning] http_svr_thread.c(288) Error occured in processing request (0.059 seconds)


> 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Updated: (AXIS2C-1213) server returns HTTP/1.1 500 Internal Server Error for In-Only message

Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-1213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Supun Kamburugamuva updated AXIS2C-1213:
----------------------------------------

    Priority: Critical  (was: Blocker)

I'm downgrading the priority as we think the issue is fixed. Waiting for a response from Fredric.

> 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
>            Assignee: Supun Kamburugamuva
>            Priority: Critical
>
> 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXIS2C-1213) server returns HTTP/1.1 500 Internal Server Error for In-Only message

Posted by "Damitha Kumarage (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-1213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609296#action_12609296 ] 

Damitha Kumarage commented on AXIS2C-1213:
------------------------------------------

According to soap 1.1 specication

"The header field value of empty string ("") means that the intent of the SOAP message is
provided by the HTTP Request-URI. No value means that there is no indication of the intent
of the message."

Also according to the same spec

"An HTTP client MUST use the SOAPAction header field when issuing a SOAP HTTP Request"

In soap 1.2 media type application/soap+xml optionally defines action parameter.

According to the WSDL version 2.0 Soap 1.1 binding extension

"A SOAP Binding is identified as a SOAP 1.1 binding by assigning the value "1.1" to the {soap version}
property of the Binding component."

According to same extension

"SOAP Action. If the Binding Operation component does NOT have a {soap action} property defined, then
the quoted empty string value ("") value is used for the SOAP 1.1 SOAPAction HTTP Header Field (see [SOAP11])."

Note that for soap 1.2 action is optional. So for wsdl2.0 there could be {soap action} not defined.

Read more about this extension
http://www.w3.org/TR/wsdl20-soap11-binding/#soap11-binding


Also accroding to WSDL 1.1 soap 1.2 binding

In binding element

"<wsdl:binding ... >
   <wsoap12:binding transport="xs:anyURI"
                    style="rpc|document" ? ... />"
...
</wsdl:binding>

In operation element
"<wsoap12:operation soapAction="xs:anyURI" ?
                   soapActionRequired="xs:boolean" ?
                   style="rpc|document" ? ... /> ?"

where you need to define xmlns:wsoap12="http://schemas.xmlsoap.org/wsdl/soap12/" in wsdl:definitions
 section.

Since SOAPAction is mandatory when soap 1.1 is used wsdl should have an empty SOAPAction string 

> 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Assigned: (AXIS2C-1213) server returns HTTP/1.1 500 Internal Server Error for In-Only message

Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-1213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Supun Kamburugamuva reassigned AXIS2C-1213:
-------------------------------------------

    Assignee: Supun Kamburugamuva

> 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
>            Assignee: Supun Kamburugamuva
>            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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXIS2C-1213) server returns HTTP/1.1 500 Internal Server Error for In-Only message

Posted by "Frederic Heem (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-1213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609264#action_12609264 ] 

Frederic Heem commented on AXIS2C-1213:
---------------------------------------

Please note that the nofity client works. 
Here are the difference between the 2:
* SOAPAction is set to "" in one, in notify, this field is not present. Why is set to "" at the first place ? 
* The content type is text/xml and application/soap+xml in notify. 
* soap 11 is used in the first case, soap12 in the second. How WSDL2C can be told to use soap 12 ?

Here is the conversation:
 POST /axis2/services/notify HTTP/1.1
User-Agent: Axis2C/1.4.0
Content-Length: 426
Content-Type: application/soap+xml;charset=UTF-8
Host: localhost:9090

<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:To>http://localhost:9090/axis2/services/notify</wsa:To><wsa:Action>notify</wsa:Action><wsa:MessageID>8044fb10-46b9-1dd1-2223-0014c2e176e7</wsa:MessageID></soapenv:Header><soapenv:Body><m:notify xmlns:m="http://example.org/notify">notify5</m:notify></soapenv:Body></soapenv:Envelope>HTTP/1.1 202 Accepted
Date: Mon Jun 30 16:30:43 2008 GMT
Server: Axis2C/1.4.0 (Simple Axis2 HTTP Server)

> 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org