You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Simon Fell (JIRA)" <ji...@apache.org> on 2005/10/04 05:18:47 UTC
[jira] Commented: (AXIS2-261) duplicate WS-Addressing headers are sent
[ http://issues.apache.org/jira/browse/AXIS2-261?page=comments#action_12331236 ]
Simon Fell commented on AXIS2-261:
----------------------------------
The generated request is, I've reformatted the xml, so its easier to read
POST /services/Soap/u/6.0 HTTP/1.1
User-Agent: Axis/2.0
SOAPAction:
Connection: Keep-Alive
Host: na1-api.salesforce.com
Content-Length: 1484
Content-Type: text/xml; charset=UTF-8
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header>
<SessionHeader xmlns="urn:partner.soap.sforce.com"><sessionId>[sid snipped for security reasons]</sessionId></SessionHeader>
<CallOptions xmlns="urn:partner.soap.sforce.com"></CallOptions>
<QueryOptions xmlns="urn:partner.soap.sforce.com"></QueryOptions>
<wsa:To xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://na1-api.salesforce.com/services/Soap/u/6.0</wsa:To>
<wsa:ReplyTo xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"><wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address></wsa:ReplyTo>
<wsa:MessageID xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">1128395629669</wsa:MessageID>
<wsa:To xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://na1-api.salesforce.com/services/Soap/u/6.0</wsa:To>
<wsa:ReplyTo xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"><wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address></wsa:ReplyTo>
<wsa:MessageID xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">1128395629669</wsa:MessageID>
</soapenv:Header>
<soapenv:Body>
<query xmlns="urn:partner.soap.sforce.com">
<queryString>select id, name, accountNumber from Account where name like 'fr%'</queryString></query>
</soapenv:Body></soapenv:Envelope>
> duplicate WS-Addressing headers are sent
> ----------------------------------------
>
> Key: AXIS2-261
> URL: http://issues.apache.org/jira/browse/AXIS2-261
> Project: Apache Axis 2.0 (Axis2)
> Type: Bug
> Components: client-api
> Environment: WinXP, JDK 5.0, code from SVN 10/3/2005
> Reporter: Simon Fell
> Attachments: partner.wsdl, testPartnerClient.java
>
> the generated message for the query call in the WSDL generates 2 sets of WS-Addressing headers (will attach WSDL & client code)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira