synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "indika priyantha kumara (JIRA)" <>
Subject [jira] Resolved: (SYNAPSE-319) Callout Mediator issue
Date Wed, 21 May 2008 06:48:55 GMT


indika priyantha kumara resolved SYNAPSE-319.

       Resolution: Fixed
    Fix Version/s: 1.2

Error indicates that , the soap-body first child <-> required parameter convention can
not be done(Axis2 server side).  This may be due to enclosed soap envelope within outer soapbody.

it seems that  enclosing a soap envelope within outer soapbody is related to the some incorrect
configuration in the callout mediator. (Most probably , it may be with a wrong xpath expression
for the 'source' of callout mediator). Please refers sample 430. It demonstrates a simple
callout mediator.

Issue is resolved as this is not an issue with callout mediator. 

There was an issue when soapaction has not been specified from the callout mediator. Now,
if you are not explicitly set the soap action , then , writing soapaction as a transport header
is disable.

> Callout Mediator issue
> ----------------------
>                 Key: SYNAPSE-319
>                 URL:
>             Project: Synapse
>          Issue Type: Bug
>         Environment: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20071008
Ubuntu/7.10 (gutsy) Firefox/
>            Reporter: Lakmal Warusawithana
>            Assignee: indika priyantha kumara
>            Priority: Blocker
>             Fix For: 1.2
> From Callout Mediator call local registry key. It give some exceptions. Here are trace
from tcpmon
> POST /rpc/soap/jirasoapservice-v2 HTTP/1.1
> Content-Type: text/xml; charset=UTF-8
> SOAPAction: "urn:anonOutInOp"
> User-Agent: Axis2
> Host: localhost:89
> Transfer-Encoding: chunked
> 308
> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv=""><soapenv:Body><SOAP-ENV:Envelope
xmlns:SOAP-ENV="" xmlns:xsd=""
xmlns:ns1="" xmlns:SOAP-ENC=""
xmlns:xsi="" SOAP-ENV:encodingStyle="">
>             <SOAP-ENV:Body>
>                 <ns1:login>
>                     <in0 xsi:type="xsd:string">admin</in0>
>                     <in1 xsi:type="xsd:string">admin123</in1>
>                 </ns1:login>
>             </SOAP-ENV:Body>
>         </SOAP-ENV:Envelope></soapenv:Body></soapenv:Envelope>
> 0
> here response
> HTTP/1.1 500 Internal Server Error
> Server: Apache-Coyote/1.1
> Content-Type: text/xml;charset=utf-8
> Transfer-Encoding: chunked
> Date: Mon, 05 May 2008 12:59:13 GMT
> Connection: close
> 39d
> <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv=""
xmlns:xsd="" xmlns:xsi=""><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server.userException</faultcode><faultstring>org.xml.sax.SAXException:
SimpleDeserializer encountered a child element, which is NOT expected, in something it was
trying to deserialize.</faultstring><detail><faultData xsi:type="ns1:SAXException"
xmlns:ns1=""><exception xsi:type="ns2:Exception" xsi:nil="true" xmlns:ns2=""/><message
xsi:type="xsd:string">SimpleDeserializer encountered a child element, which is NOT expected,
in something it was trying to deserialize.</message></faultData><ns3:hostname
> 0

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:
For additional commands, e-mail:

View raw message