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:13:47 UTC

[jira] Created: (AXIS2-261) duplicate WS-Addressing headers are sent

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


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


[jira] Updated: (AXIS2-261) duplicate WS-Addressing headers are sent

Posted by "Simon Fell (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-261?page=all ]

Simon Fell updated AXIS2-261:
-----------------------------

    Attachment: testPartnerClient.java

> 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


[jira] Commented: (AXIS2-261) duplicate WS-Addressing headers are sent

Posted by "Eran Chinthaka (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-261?page=comments#action_12331241 ] 

Eran Chinthaka commented on AXIS2-261:
--------------------------------------

I know its a nice to have thing. This requires some sort of normalization in OM. When a parent has some children which has the same namespace declared, parent should be able to declare them within him. But we don't have this normalization right now.

> 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


[jira] Updated: (AXIS2-261) duplicate WS-Addressing headers are sent

Posted by "Simon Fell (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-261?page=all ]

Simon Fell updated AXIS2-261:
-----------------------------

    Attachment: partner.wsdl

generated the client proxies with WDSL2Code -uri partner.wsdl

> 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


[jira] Commented: (AXIS2-261) duplicate WS-Addressing headers are sent

Posted by "Simon Fell (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-261?page=comments#action_12331237 ] 

Simon Fell commented on AXIS2-261:
----------------------------------

Also, you should declare the WSA namespace in the envelope (or header) element to save repeating its declaration so many times.

> 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


[jira] Commented: (AXIS2-261) duplicate WS-Addressing headers are sent

Posted by "Eran Chinthaka (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-261?page=comments#action_12331961 ] 

Eran Chinthaka commented on AXIS2-261:
--------------------------------------

Repeating of WS-A headers now fixed when resolving Axis2-278. Please check now and comment on this issue.

> 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


[jira] Commented: (AXIS2-261) duplicate WS-Addressing headers are sent

Posted by "Eran Chinthaka (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-261?page=comments#action_12331478 ] 

Eran Chinthaka commented on AXIS2-261:
--------------------------------------

I did a small change in the addressing handler so that now each and every addressing header will contain the addressing namespace declaration and only the SOAP header will contain that. 

> 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


[jira] Commented: (AXIS2-261) duplicate WS-Addressing headers are sent

Posted by "Simon Fell (JIRA)" <ji...@apache.org>.
    [ 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


[jira] Resolved: (AXIS2-261) duplicate WS-Addressing headers are sent

Posted by "Eran Chinthaka (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-261?page=all ]
     
Eran Chinthaka resolved AXIS2-261:
----------------------------------

    Resolution: Fixed

> 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