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 "Runo Barrdahl (JIRA)" <ji...@apache.org> on 2009/05/27 09:20:45 UTC

[jira] Created: (AXIS2-4354) wsdl2Java removes policy tag Trust13 attribute

wsdl2Java removes policy tag Trust13 attribute
----------------------------------------------

                 Key: AXIS2-4354
                 URL: https://issues.apache.org/jira/browse/AXIS2-4354
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
    Affects Versions: 1.4.1
         Environment: jdk1.5.0_04, WinXP, Eclipse Axis2 1.4.1, Rampart 1.4, Addressing 1.4.1 - calling WebService on MS .NET platform
            Reporter: Runo Barrdahl
            Priority: Minor


1. When using wsdl2Java (batch file command: C:\axis2-1.4.1\bin\wsdl2java -uri C:\EclipseLogViewer\BGC_NewAutoGiroWS\wsdl\MandateSearchService.wsdl -d xmlbeans -o C:\EclipseLogViewer\BGC_NewAutoGiroWS -p com.tieto.bgc.autogiro.ws -ns2p bgonline.se.mandatesearchservice.schemas.getmandatelistrequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistrequest,bgonline.se.mandatesearchservice.schemas.getmandatelistresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistresponse,bgonline.se.mandatesearchservice.schemas.getmandaterequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandaterequest,bgonline.se.shared.schemas.messageTypes.v1.0=bgonline.se.shared.schemas.messageTypes,bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandateresponse,impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse -u -or) Stub is create
 d OK.
2. However, when executing call to web service exception is thrown. I found out. After some fairly lengthy error localisation attempts, I finally found that the cause of the exemption was that the policy tag "<Trust13> had lost its attribute.
3. After manual patching of 2 instances of the policy tag to become "<sp:Trust13 xmlns:sp=\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702\" >" execution of the call to the Stub was without any error.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (AXIS2-4354) wsdl2Java removes policy tag Trust13 attribute

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

Andreas Veithen resolved AXIS2-4354.
------------------------------------

    Resolution: Cannot Reproduce

> wsdl2Java removes policy tag Trust13 attribute
> ----------------------------------------------
>
>                 Key: AXIS2-4354
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4354
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>         Environment: jdk1.5.0_04, WinXP, Eclipse Axis2 1.4.1, Rampart 1.4, Addressing 1.4.1 - calling WebService on MS .NET platform
>            Reporter: Runo Barrdahl
>            Assignee: Andreas Veithen
>            Priority: Minor
>         Attachments: theMissingTrust13AttributeStub_WebService-corrected-2nd.xml
>
>
> 1. When using wsdl2Java (batch file command: C:\axis2-1.4.1\bin\wsdl2java -uri C:\EclipseLogViewer\BGC_NewAutoGiroWS\wsdl\MandateSearchService.wsdl -d xmlbeans -o C:\EclipseLogViewer\BGC_NewAutoGiroWS -p com.tieto.bgc.autogiro.ws -ns2p bgonline.se.mandatesearchservice.schemas.getmandatelistrequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistrequest,bgonline.se.mandatesearchservice.schemas.getmandatelistresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistresponse,bgonline.se.mandatesearchservice.schemas.getmandaterequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandaterequest,bgonline.se.shared.schemas.messageTypes.v1.0=bgonline.se.shared.schemas.messageTypes,bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandateresponse,impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse -u -or) Stub is crea
 ted OK.
> 2. However, when executing call to web service exception is thrown. I found out. After some fairly lengthy error localisation attempts, I finally found that the cause of the exemption was that the policy tag "<Trust13> had lost its attribute.
> 3. After manual patching of 2 instances of the policy tag to become "<sp:Trust13 xmlns:sp=\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702\" >" execution of the call to the Stub was without any error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2-4354) wsdl2Java removes policy tag Trust13 attribute

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713910#action_12713910 ] 

Andreas Veithen commented on AXIS2-4354:
----------------------------------------

Thanks. Can you please attach the WSDL file to the JIRA issue (click on the "Attach file" link on the left sidebar)? Your mail client wrapped the lines in the WSDL so that it can't be extracted by copy & paste.

> wsdl2Java removes policy tag Trust13 attribute
> ----------------------------------------------
>
>                 Key: AXIS2-4354
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4354
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>         Environment: jdk1.5.0_04, WinXP, Eclipse Axis2 1.4.1, Rampart 1.4, Addressing 1.4.1 - calling WebService on MS .NET platform
>            Reporter: Runo Barrdahl
>            Priority: Minor
>
> 1. When using wsdl2Java (batch file command: C:\axis2-1.4.1\bin\wsdl2java -uri C:\EclipseLogViewer\BGC_NewAutoGiroWS\wsdl\MandateSearchService.wsdl -d xmlbeans -o C:\EclipseLogViewer\BGC_NewAutoGiroWS -p com.tieto.bgc.autogiro.ws -ns2p bgonline.se.mandatesearchservice.schemas.getmandatelistrequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistrequest,bgonline.se.mandatesearchservice.schemas.getmandatelistresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistresponse,bgonline.se.mandatesearchservice.schemas.getmandaterequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandaterequest,bgonline.se.shared.schemas.messageTypes.v1.0=bgonline.se.shared.schemas.messageTypes,bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandateresponse,impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse -u -or) Stub is crea
 ted OK.
> 2. However, when executing call to web service exception is thrown. I found out. After some fairly lengthy error localisation attempts, I finally found that the cause of the exemption was that the policy tag "<Trust13> had lost its attribute.
> 3. After manual patching of 2 instances of the policy tag to become "<sp:Trust13 xmlns:sp=\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702\" >" execution of the call to the Stub was without any error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AXIS2-4354) wsdl2Java removes policy tag Trust13 attribute

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

Runo Barrdahl updated AXIS2-4354:
---------------------------------

    Attachment: theMissingTrust13AttributeStub_WebService.wsdl

Dear Andreas:

I hope this will be OK now. I have replaced WebService name, service URL, service domain and function catalogue.

Best Regards, Runo

> wsdl2Java removes policy tag Trust13 attribute
> ----------------------------------------------
>
>                 Key: AXIS2-4354
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4354
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>         Environment: jdk1.5.0_04, WinXP, Eclipse Axis2 1.4.1, Rampart 1.4, Addressing 1.4.1 - calling WebService on MS .NET platform
>            Reporter: Runo Barrdahl
>            Priority: Minor
>         Attachments: theMissingTrust13AttributeStub_WebService.wsdl
>
>
> 1. When using wsdl2Java (batch file command: C:\axis2-1.4.1\bin\wsdl2java -uri C:\EclipseLogViewer\BGC_NewAutoGiroWS\wsdl\MandateSearchService.wsdl -d xmlbeans -o C:\EclipseLogViewer\BGC_NewAutoGiroWS -p com.tieto.bgc.autogiro.ws -ns2p bgonline.se.mandatesearchservice.schemas.getmandatelistrequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistrequest,bgonline.se.mandatesearchservice.schemas.getmandatelistresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistresponse,bgonline.se.mandatesearchservice.schemas.getmandaterequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandaterequest,bgonline.se.shared.schemas.messageTypes.v1.0=bgonline.se.shared.schemas.messageTypes,bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandateresponse,impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse -u -or) Stub is crea
 ted OK.
> 2. However, when executing call to web service exception is thrown. I found out. After some fairly lengthy error localisation attempts, I finally found that the cause of the exemption was that the policy tag "<Trust13> had lost its attribute.
> 3. After manual patching of 2 instances of the policy tag to become "<sp:Trust13 xmlns:sp=\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702\" >" execution of the call to the Stub was without any error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2-4354) wsdl2Java removes policy tag Trust13 attribute

Posted by "Runo Barrdahl (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713496#action_12713496 ] 

Runo Barrdahl commented on AXIS2-4354:
--------------------------------------

Dear Andreas:

Thanks for your prompt reaction.

An extract of the wsdl containing the Policy tag reads as follows:
"
<wsp:Policy wsu:Id="theXXX_WebService_policy">
- <wsp:ExactlyOne>
- <wsp:All>
- <sp:TransportBinding
xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
- <wsp:Policy>
- <sp:TransportToken>
- <wsp:Policy>
  <sp:HttpsToken /> 
  </wsp:Policy>
  </sp:TransportToken>
- <sp:AlgorithmSuite>
- <wsp:Policy>
  <sp:Basic256 /> 
  </wsp:Policy>
  </sp:AlgorithmSuite>
- <sp:Layout>
- <wsp:Policy>
  <sp:Strict /> 
  </wsp:Policy>
  </sp:Layout>
  <sp:IncludeTimestamp /> 
  </wsp:Policy>
  </sp:TransportBinding>
- <sp:SignedEncryptedSupportingTokens
xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
- <wsp:Policy>
- <sp:UsernameToken
sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/2007
02/IncludeToken/AlwaysToRecipient">
- <wsp:Policy>
  <sp:WssUsernameToken10 /> 
  </wsp:Policy>
  </sp:UsernameToken>
  </wsp:Policy>
  </sp:SignedEncryptedSupportingTokens>
- <sp:Wss11
xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
- <wsp:Policy>
  <sp:MustSupportRefKeyIdentifier /> 
  <sp:MustSupportRefIssuerSerial /> 
  <sp:MustSupportRefThumbprint /> 
  <sp:MustSupportRefEncryptedKey /> 
  </wsp:Policy>
  </sp:Wss11>
- <sp:Trust13
xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
- <wsp:Policy>
  <sp:MustSupportIssuedTokens /> 
  <sp:RequireClientEntropy /> 
  <sp:RequireServerEntropy /> 
  </wsp:Policy>
  </sp:Trust13>
  <wsaw:UsingAddressing /> 
  </wsp:All>
  </wsp:ExactlyOne>
  </wsp:Policy>
" 

In addition, the following standards are referred to in the wsdl:
"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssec
urity-utility-1.0.xsd"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"
xmlns:tns="http://bgonline.se/ws/autogiro"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract"
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:wsa10="http://www.w3.org/2005/08/addressing"
xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"
"


I hope this information will provide information enough, otherwise,
please come back.

For your information, there was a lot of trial and error before I
actually managed to receive a sensible response from the web service
created by Microsoft .NET tools and running on a server for that
purpose.
In one instance, Axis2 threw an exception saying that "... relative
reference... must be absolute ..". This led to that the web service
definition had to be amended to exchange relative references for
absolute ones.

Also, I find that the documentation on how to use Axis2 is quite bried
and did not provide me with answers to a lot of questions that I had.
Apart from that, in my view, Axis2 appears to be an excellent product.


Best Regards, Runo 




> wsdl2Java removes policy tag Trust13 attribute
> ----------------------------------------------
>
>                 Key: AXIS2-4354
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4354
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>         Environment: jdk1.5.0_04, WinXP, Eclipse Axis2 1.4.1, Rampart 1.4, Addressing 1.4.1 - calling WebService on MS .NET platform
>            Reporter: Runo Barrdahl
>            Priority: Minor
>
> 1. When using wsdl2Java (batch file command: C:\axis2-1.4.1\bin\wsdl2java -uri C:\EclipseLogViewer\BGC_NewAutoGiroWS\wsdl\MandateSearchService.wsdl -d xmlbeans -o C:\EclipseLogViewer\BGC_NewAutoGiroWS -p com.tieto.bgc.autogiro.ws -ns2p bgonline.se.mandatesearchservice.schemas.getmandatelistrequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistrequest,bgonline.se.mandatesearchservice.schemas.getmandatelistresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistresponse,bgonline.se.mandatesearchservice.schemas.getmandaterequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandaterequest,bgonline.se.shared.schemas.messageTypes.v1.0=bgonline.se.shared.schemas.messageTypes,bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandateresponse,impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse -u -or) Stub is crea
 ted OK.
> 2. However, when executing call to web service exception is thrown. I found out. After some fairly lengthy error localisation attempts, I finally found that the cause of the exemption was that the policy tag "<Trust13> had lost its attribute.
> 3. After manual patching of 2 instances of the policy tag to become "<sp:Trust13 xmlns:sp=\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702\" >" execution of the call to the Stub was without any error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2-4354) wsdl2Java removes policy tag Trust13 attribute

Posted by "Runo Barrdahl (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12714993#action_12714993 ] 

Runo Barrdahl commented on AXIS2-4354:
--------------------------------------

Dear Andreas:

May I ask you to delete the corrected version that you uploaded, and
also delete all copies of it, in case there are such copies.
Namely, I have just uploaded a -2nd corrected version that has been more
completely stripped and does not contain any unneccessary information.

Please confirm action to me.


Best Regards, Runo



> wsdl2Java removes policy tag Trust13 attribute
> ----------------------------------------------
>
>                 Key: AXIS2-4354
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4354
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>         Environment: jdk1.5.0_04, WinXP, Eclipse Axis2 1.4.1, Rampart 1.4, Addressing 1.4.1 - calling WebService on MS .NET platform
>            Reporter: Runo Barrdahl
>            Assignee: Andreas Veithen
>            Priority: Minor
>         Attachments: theMissingTrust13AttributeStub_WebService-corrected-2nd.xml, theMissingTrust13AttributeStub_WebService-corrected.wsdl
>
>
> 1. When using wsdl2Java (batch file command: C:\axis2-1.4.1\bin\wsdl2java -uri C:\EclipseLogViewer\BGC_NewAutoGiroWS\wsdl\MandateSearchService.wsdl -d xmlbeans -o C:\EclipseLogViewer\BGC_NewAutoGiroWS -p com.tieto.bgc.autogiro.ws -ns2p bgonline.se.mandatesearchservice.schemas.getmandatelistrequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistrequest,bgonline.se.mandatesearchservice.schemas.getmandatelistresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistresponse,bgonline.se.mandatesearchservice.schemas.getmandaterequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandaterequest,bgonline.se.shared.schemas.messageTypes.v1.0=bgonline.se.shared.schemas.messageTypes,bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandateresponse,impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse -u -or) Stub is crea
 ted OK.
> 2. However, when executing call to web service exception is thrown. I found out. After some fairly lengthy error localisation attempts, I finally found that the cause of the exemption was that the policy tag "<Trust13> had lost its attribute.
> 3. After manual patching of 2 instances of the policy tag to become "<sp:Trust13 xmlns:sp=\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702\" >" execution of the call to the Stub was without any error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2-4354) wsdl2Java removes policy tag Trust13 attribute

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715678#action_12715678 ] 

Andreas Veithen commented on AXIS2-4354:
----------------------------------------

There is no Rampart release for Axis2 1.5 yet. Recent snapshots should work, but I'm not sure that Rampart 1.4 is still compatible.

> wsdl2Java removes policy tag Trust13 attribute
> ----------------------------------------------
>
>                 Key: AXIS2-4354
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4354
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>         Environment: jdk1.5.0_04, WinXP, Eclipse Axis2 1.4.1, Rampart 1.4, Addressing 1.4.1 - calling WebService on MS .NET platform
>            Reporter: Runo Barrdahl
>            Assignee: Andreas Veithen
>            Priority: Minor
>         Attachments: theMissingTrust13AttributeStub_WebService-corrected-2nd.xml
>
>
> 1. When using wsdl2Java (batch file command: C:\axis2-1.4.1\bin\wsdl2java -uri C:\EclipseLogViewer\BGC_NewAutoGiroWS\wsdl\MandateSearchService.wsdl -d xmlbeans -o C:\EclipseLogViewer\BGC_NewAutoGiroWS -p com.tieto.bgc.autogiro.ws -ns2p bgonline.se.mandatesearchservice.schemas.getmandatelistrequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistrequest,bgonline.se.mandatesearchservice.schemas.getmandatelistresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistresponse,bgonline.se.mandatesearchservice.schemas.getmandaterequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandaterequest,bgonline.se.shared.schemas.messageTypes.v1.0=bgonline.se.shared.schemas.messageTypes,bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandateresponse,impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse -u -or) Stub is crea
 ted OK.
> 2. However, when executing call to web service exception is thrown. I found out. After some fairly lengthy error localisation attempts, I finally found that the cause of the exemption was that the policy tag "<Trust13> had lost its attribute.
> 3. After manual patching of 2 instances of the policy tag to become "<sp:Trust13 xmlns:sp=\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702\" >" execution of the call to the Stub was without any error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AXIS2-4354) wsdl2Java removes policy tag Trust13 attribute

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

Runo Barrdahl updated AXIS2-4354:
---------------------------------

    Attachment:     (was: theMissingTrust13AttributeStub_WebService.wsdl)

> wsdl2Java removes policy tag Trust13 attribute
> ----------------------------------------------
>
>                 Key: AXIS2-4354
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4354
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>         Environment: jdk1.5.0_04, WinXP, Eclipse Axis2 1.4.1, Rampart 1.4, Addressing 1.4.1 - calling WebService on MS .NET platform
>            Reporter: Runo Barrdahl
>            Assignee: Andreas Veithen
>            Priority: Minor
>         Attachments: theMissingTrust13AttributeStub_WebService-corrected-2nd.xml, theMissingTrust13AttributeStub_WebService-corrected.wsdl
>
>
> 1. When using wsdl2Java (batch file command: C:\axis2-1.4.1\bin\wsdl2java -uri C:\EclipseLogViewer\BGC_NewAutoGiroWS\wsdl\MandateSearchService.wsdl -d xmlbeans -o C:\EclipseLogViewer\BGC_NewAutoGiroWS -p com.tieto.bgc.autogiro.ws -ns2p bgonline.se.mandatesearchservice.schemas.getmandatelistrequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistrequest,bgonline.se.mandatesearchservice.schemas.getmandatelistresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistresponse,bgonline.se.mandatesearchservice.schemas.getmandaterequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandaterequest,bgonline.se.shared.schemas.messageTypes.v1.0=bgonline.se.shared.schemas.messageTypes,bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandateresponse,impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse -u -or) Stub is crea
 ted OK.
> 2. However, when executing call to web service exception is thrown. I found out. After some fairly lengthy error localisation attempts, I finally found that the cause of the exemption was that the policy tag "<Trust13> had lost its attribute.
> 3. After manual patching of 2 instances of the policy tag to become "<sp:Trust13 xmlns:sp=\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702\" >" execution of the call to the Stub was without any error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2-4354) wsdl2Java removes policy tag Trust13 attribute

Posted by "Runo Barrdahl (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713509#action_12713509 ] 

Runo Barrdahl commented on AXIS2-4354:
--------------------------------------

Dear Andreas:

You know, you will not be able to use the actual wsdl, since your access
to the underlying URL will be prevented due to security arrangements.
Would it not be possible for you to create a wsdl from the extract I
provided to you?

In addition, since the actual wsdl is owned by the Swedish company BGC,
I do not have the right to provide the wsdl to you.


Best Regards, Runo




> wsdl2Java removes policy tag Trust13 attribute
> ----------------------------------------------
>
>                 Key: AXIS2-4354
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4354
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>         Environment: jdk1.5.0_04, WinXP, Eclipse Axis2 1.4.1, Rampart 1.4, Addressing 1.4.1 - calling WebService on MS .NET platform
>            Reporter: Runo Barrdahl
>            Priority: Minor
>
> 1. When using wsdl2Java (batch file command: C:\axis2-1.4.1\bin\wsdl2java -uri C:\EclipseLogViewer\BGC_NewAutoGiroWS\wsdl\MandateSearchService.wsdl -d xmlbeans -o C:\EclipseLogViewer\BGC_NewAutoGiroWS -p com.tieto.bgc.autogiro.ws -ns2p bgonline.se.mandatesearchservice.schemas.getmandatelistrequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistrequest,bgonline.se.mandatesearchservice.schemas.getmandatelistresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistresponse,bgonline.se.mandatesearchservice.schemas.getmandaterequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandaterequest,bgonline.se.shared.schemas.messageTypes.v1.0=bgonline.se.shared.schemas.messageTypes,bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandateresponse,impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse -u -or) Stub is crea
 ted OK.
> 2. However, when executing call to web service exception is thrown. I found out. After some fairly lengthy error localisation attempts, I finally found that the cause of the exemption was that the policy tag "<Trust13> had lost its attribute.
> 3. After manual patching of 2 instances of the policy tag to become "<sp:Trust13 xmlns:sp=\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702\" >" execution of the call to the Stub was without any error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2-4354) wsdl2Java removes policy tag Trust13 attribute

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713462#action_12713462 ] 

Andreas Veithen commented on AXIS2-4354:
----------------------------------------

Can you provide a (stripped down) version of the WSDL that reproduces this problem?

> wsdl2Java removes policy tag Trust13 attribute
> ----------------------------------------------
>
>                 Key: AXIS2-4354
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4354
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>         Environment: jdk1.5.0_04, WinXP, Eclipse Axis2 1.4.1, Rampart 1.4, Addressing 1.4.1 - calling WebService on MS .NET platform
>            Reporter: Runo Barrdahl
>            Priority: Minor
>
> 1. When using wsdl2Java (batch file command: C:\axis2-1.4.1\bin\wsdl2java -uri C:\EclipseLogViewer\BGC_NewAutoGiroWS\wsdl\MandateSearchService.wsdl -d xmlbeans -o C:\EclipseLogViewer\BGC_NewAutoGiroWS -p com.tieto.bgc.autogiro.ws -ns2p bgonline.se.mandatesearchservice.schemas.getmandatelistrequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistrequest,bgonline.se.mandatesearchservice.schemas.getmandatelistresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistresponse,bgonline.se.mandatesearchservice.schemas.getmandaterequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandaterequest,bgonline.se.shared.schemas.messageTypes.v1.0=bgonline.se.shared.schemas.messageTypes,bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandateresponse,impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse -u -or) Stub is crea
 ted OK.
> 2. However, when executing call to web service exception is thrown. I found out. After some fairly lengthy error localisation attempts, I finally found that the cause of the exemption was that the policy tag "<Trust13> had lost its attribute.
> 3. After manual patching of 2 instances of the policy tag to become "<sp:Trust13 xmlns:sp=\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702\" >" execution of the call to the Stub was without any error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AXIS2-4354) wsdl2Java removes policy tag Trust13 attribute

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

Andreas Veithen updated AXIS2-4354:
-----------------------------------

    Attachment: theMissingTrust13AttributeStub_WebService-corrected.wsdl

Attached a corrected version of the WSDL because the file provided by the user had errors.

> wsdl2Java removes policy tag Trust13 attribute
> ----------------------------------------------
>
>                 Key: AXIS2-4354
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4354
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>         Environment: jdk1.5.0_04, WinXP, Eclipse Axis2 1.4.1, Rampart 1.4, Addressing 1.4.1 - calling WebService on MS .NET platform
>            Reporter: Runo Barrdahl
>            Assignee: Andreas Veithen
>            Priority: Minor
>         Attachments: theMissingTrust13AttributeStub_WebService-corrected.wsdl, theMissingTrust13AttributeStub_WebService.wsdl
>
>
> 1. When using wsdl2Java (batch file command: C:\axis2-1.4.1\bin\wsdl2java -uri C:\EclipseLogViewer\BGC_NewAutoGiroWS\wsdl\MandateSearchService.wsdl -d xmlbeans -o C:\EclipseLogViewer\BGC_NewAutoGiroWS -p com.tieto.bgc.autogiro.ws -ns2p bgonline.se.mandatesearchservice.schemas.getmandatelistrequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistrequest,bgonline.se.mandatesearchservice.schemas.getmandatelistresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistresponse,bgonline.se.mandatesearchservice.schemas.getmandaterequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandaterequest,bgonline.se.shared.schemas.messageTypes.v1.0=bgonline.se.shared.schemas.messageTypes,bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandateresponse,impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse -u -or) Stub is crea
 ted OK.
> 2. However, when executing call to web service exception is thrown. I found out. After some fairly lengthy error localisation attempts, I finally found that the cause of the exemption was that the policy tag "<Trust13> had lost its attribute.
> 3. After manual patching of 2 instances of the policy tag to become "<sp:Trust13 xmlns:sp=\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702\" >" execution of the call to the Stub was without any error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2-4354) wsdl2Java removes policy tag Trust13 attribute

Posted by "Runo Barrdahl (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715544#action_12715544 ] 

Runo Barrdahl commented on AXIS2-4354:
--------------------------------------

Dear Andreas:

I will download the code and run wsdl2Java on it.

However, do I need also a Rampart-1.5 distribution, or is it OK with
Rampart-1.4 ?

Best Regards, Runo 




> wsdl2Java removes policy tag Trust13 attribute
> ----------------------------------------------
>
>                 Key: AXIS2-4354
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4354
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>         Environment: jdk1.5.0_04, WinXP, Eclipse Axis2 1.4.1, Rampart 1.4, Addressing 1.4.1 - calling WebService on MS .NET platform
>            Reporter: Runo Barrdahl
>            Assignee: Andreas Veithen
>            Priority: Minor
>         Attachments: theMissingTrust13AttributeStub_WebService-corrected-2nd.xml
>
>
> 1. When using wsdl2Java (batch file command: C:\axis2-1.4.1\bin\wsdl2java -uri C:\EclipseLogViewer\BGC_NewAutoGiroWS\wsdl\MandateSearchService.wsdl -d xmlbeans -o C:\EclipseLogViewer\BGC_NewAutoGiroWS -p com.tieto.bgc.autogiro.ws -ns2p bgonline.se.mandatesearchservice.schemas.getmandatelistrequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistrequest,bgonline.se.mandatesearchservice.schemas.getmandatelistresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistresponse,bgonline.se.mandatesearchservice.schemas.getmandaterequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandaterequest,bgonline.se.shared.schemas.messageTypes.v1.0=bgonline.se.shared.schemas.messageTypes,bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandateresponse,impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse -u -or) Stub is crea
 ted OK.
> 2. However, when executing call to web service exception is thrown. I found out. After some fairly lengthy error localisation attempts, I finally found that the cause of the exemption was that the policy tag "<Trust13> had lost its attribute.
> 3. After manual patching of 2 instances of the policy tag to become "<sp:Trust13 xmlns:sp=\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702\" >" execution of the call to the Stub was without any error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2-4354) wsdl2Java removes policy tag Trust13 attribute

Posted by "Runo Barrdahl (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713488#action_12713488 ] 

Runo Barrdahl commented on AXIS2-4354:
--------------------------------------

Dear Andreas:

Thanks for your prompt reaction.

An extract of the wsdl containing the Policy tag reads as follows:
"
<wsp:Policy wsu:Id="theXXX_WebService_policy">
- <wsp:ExactlyOne>
- <wsp:All>
- <sp:TransportBinding
xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
- <wsp:Policy>
- <sp:TransportToken>
- <wsp:Policy>
  <sp:HttpsToken /> 
  </wsp:Policy>
  </sp:TransportToken>
- <sp:AlgorithmSuite>
- <wsp:Policy>
  <sp:Basic256 /> 
  </wsp:Policy>
  </sp:AlgorithmSuite>
- <sp:Layout>
- <wsp:Policy>
  <sp:Strict /> 
  </wsp:Policy>
  </sp:Layout>
  <sp:IncludeTimestamp /> 
  </wsp:Policy>
  </sp:TransportBinding>
- <sp:SignedEncryptedSupportingTokens
xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
- <wsp:Policy>
- <sp:UsernameToken
sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/2007
02/IncludeToken/AlwaysToRecipient">
- <wsp:Policy>
  <sp:WssUsernameToken10 /> 
  </wsp:Policy>
  </sp:UsernameToken>
  </wsp:Policy>
  </sp:SignedEncryptedSupportingTokens>
- <sp:Wss11
xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
- <wsp:Policy>
  <sp:MustSupportRefKeyIdentifier /> 
  <sp:MustSupportRefIssuerSerial /> 
  <sp:MustSupportRefThumbprint /> 
  <sp:MustSupportRefEncryptedKey /> 
  </wsp:Policy>
  </sp:Wss11>
- <sp:Trust13
xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
- <wsp:Policy>
  <sp:MustSupportIssuedTokens /> 
  <sp:RequireClientEntropy /> 
  <sp:RequireServerEntropy /> 
  </wsp:Policy>
  </sp:Trust13>
  <wsaw:UsingAddressing /> 
  </wsp:All>
  </wsp:ExactlyOne>
  </wsp:Policy>
" 

In addition, the following standards are referred to in the wsdl:
"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssec
urity-utility-1.0.xsd"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"
xmlns:tns="http://bgonline.se/ws/autogiro"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract"
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:wsa10="http://www.w3.org/2005/08/addressing"
xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"
"


I hope this information will provide information enough, otherwise,
please come back.

For your information, there was a lot of trial and error before I
actually managed to receive a sensible response from the web service
created by Microsoft .NET tools and running on a server for that
purpose.
In one instance, Axis2 threw an exception saying that "... relative
reference... must be absolute ..". This led to that the web service
definition had to be amended to exchange relative references for
absolute ones.

Also, I find that the documentation on how to use Axis2 is quite bried
and did not provide me with answers to a lot of questions that I had.
Apart from that, in my view, Axis2 appears to be an excellent product.


Best Regards, Runo



> wsdl2Java removes policy tag Trust13 attribute
> ----------------------------------------------
>
>                 Key: AXIS2-4354
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4354
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>         Environment: jdk1.5.0_04, WinXP, Eclipse Axis2 1.4.1, Rampart 1.4, Addressing 1.4.1 - calling WebService on MS .NET platform
>            Reporter: Runo Barrdahl
>            Priority: Minor
>
> 1. When using wsdl2Java (batch file command: C:\axis2-1.4.1\bin\wsdl2java -uri C:\EclipseLogViewer\BGC_NewAutoGiroWS\wsdl\MandateSearchService.wsdl -d xmlbeans -o C:\EclipseLogViewer\BGC_NewAutoGiroWS -p com.tieto.bgc.autogiro.ws -ns2p bgonline.se.mandatesearchservice.schemas.getmandatelistrequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistrequest,bgonline.se.mandatesearchservice.schemas.getmandatelistresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistresponse,bgonline.se.mandatesearchservice.schemas.getmandaterequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandaterequest,bgonline.se.shared.schemas.messageTypes.v1.0=bgonline.se.shared.schemas.messageTypes,bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandateresponse,impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse -u -or) Stub is crea
 ted OK.
> 2. However, when executing call to web service exception is thrown. I found out. After some fairly lengthy error localisation attempts, I finally found that the cause of the exemption was that the policy tag "<Trust13> had lost its attribute.
> 3. After manual patching of 2 instances of the policy tag to become "<sp:Trust13 xmlns:sp=\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702\" >" execution of the call to the Stub was without any error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2-4354) wsdl2Java removes policy tag Trust13 attribute

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715491#action_12715491 ] 

Andreas Veithen commented on AXIS2-4354:
----------------------------------------

Axis2 1.5 has been released, but it has not yet been officially announced and is not yet available from the usual place. In the meantime, you can get if from [1].

[1] http://people.apache.org/~gdaniels/stagingRepo/org/apache/axis2/distribution/1.5/

> wsdl2Java removes policy tag Trust13 attribute
> ----------------------------------------------
>
>                 Key: AXIS2-4354
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4354
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>         Environment: jdk1.5.0_04, WinXP, Eclipse Axis2 1.4.1, Rampart 1.4, Addressing 1.4.1 - calling WebService on MS .NET platform
>            Reporter: Runo Barrdahl
>            Assignee: Andreas Veithen
>            Priority: Minor
>         Attachments: theMissingTrust13AttributeStub_WebService-corrected-2nd.xml
>
>
> 1. When using wsdl2Java (batch file command: C:\axis2-1.4.1\bin\wsdl2java -uri C:\EclipseLogViewer\BGC_NewAutoGiroWS\wsdl\MandateSearchService.wsdl -d xmlbeans -o C:\EclipseLogViewer\BGC_NewAutoGiroWS -p com.tieto.bgc.autogiro.ws -ns2p bgonline.se.mandatesearchservice.schemas.getmandatelistrequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistrequest,bgonline.se.mandatesearchservice.schemas.getmandatelistresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistresponse,bgonline.se.mandatesearchservice.schemas.getmandaterequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandaterequest,bgonline.se.shared.schemas.messageTypes.v1.0=bgonline.se.shared.schemas.messageTypes,bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandateresponse,impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse -u -or) Stub is crea
 ted OK.
> 2. However, when executing call to web service exception is thrown. I found out. After some fairly lengthy error localisation attempts, I finally found that the cause of the exemption was that the policy tag "<Trust13> had lost its attribute.
> 3. After manual patching of 2 instances of the policy tag to become "<sp:Trust13 xmlns:sp=\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702\" >" execution of the call to the Stub was without any error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2-4354) wsdl2Java removes policy tag Trust13 attribute

Posted by "Runo Barrdahl (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715826#action_12715826 ] 

Runo Barrdahl commented on AXIS2-4354:
--------------------------------------

Dear Andreas:

I have now been able to confirm that Axis2-1.5 does not cause the
Trust13 missing tag attribute error (as does Axis2-1.4.1).
Thus, the current error in axis2-1.4.1 is solved in axis2-1.5.


Best Regards and Thanks for your help.

Runo




> wsdl2Java removes policy tag Trust13 attribute
> ----------------------------------------------
>
>                 Key: AXIS2-4354
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4354
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>         Environment: jdk1.5.0_04, WinXP, Eclipse Axis2 1.4.1, Rampart 1.4, Addressing 1.4.1 - calling WebService on MS .NET platform
>            Reporter: Runo Barrdahl
>            Assignee: Andreas Veithen
>            Priority: Minor
>         Attachments: theMissingTrust13AttributeStub_WebService-corrected-2nd.xml
>
>
> 1. When using wsdl2Java (batch file command: C:\axis2-1.4.1\bin\wsdl2java -uri C:\EclipseLogViewer\BGC_NewAutoGiroWS\wsdl\MandateSearchService.wsdl -d xmlbeans -o C:\EclipseLogViewer\BGC_NewAutoGiroWS -p com.tieto.bgc.autogiro.ws -ns2p bgonline.se.mandatesearchservice.schemas.getmandatelistrequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistrequest,bgonline.se.mandatesearchservice.schemas.getmandatelistresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistresponse,bgonline.se.mandatesearchservice.schemas.getmandaterequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandaterequest,bgonline.se.shared.schemas.messageTypes.v1.0=bgonline.se.shared.schemas.messageTypes,bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandateresponse,impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse -u -or) Stub is crea
 ted OK.
> 2. However, when executing call to web service exception is thrown. I found out. After some fairly lengthy error localisation attempts, I finally found that the cause of the exemption was that the policy tag "<Trust13> had lost its attribute.
> 3. After manual patching of 2 instances of the policy tag to become "<sp:Trust13 xmlns:sp=\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702\" >" execution of the call to the Stub was without any error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AXIS2-4354) wsdl2Java removes policy tag Trust13 attribute

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

Andreas Veithen updated AXIS2-4354:
-----------------------------------

    Attachment:     (was: theMissingTrust13AttributeStub_WebService-corrected.wsdl)

> wsdl2Java removes policy tag Trust13 attribute
> ----------------------------------------------
>
>                 Key: AXIS2-4354
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4354
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>         Environment: jdk1.5.0_04, WinXP, Eclipse Axis2 1.4.1, Rampart 1.4, Addressing 1.4.1 - calling WebService on MS .NET platform
>            Reporter: Runo Barrdahl
>            Assignee: Andreas Veithen
>            Priority: Minor
>         Attachments: theMissingTrust13AttributeStub_WebService-corrected-2nd.xml
>
>
> 1. When using wsdl2Java (batch file command: C:\axis2-1.4.1\bin\wsdl2java -uri C:\EclipseLogViewer\BGC_NewAutoGiroWS\wsdl\MandateSearchService.wsdl -d xmlbeans -o C:\EclipseLogViewer\BGC_NewAutoGiroWS -p com.tieto.bgc.autogiro.ws -ns2p bgonline.se.mandatesearchservice.schemas.getmandatelistrequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistrequest,bgonline.se.mandatesearchservice.schemas.getmandatelistresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistresponse,bgonline.se.mandatesearchservice.schemas.getmandaterequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandaterequest,bgonline.se.shared.schemas.messageTypes.v1.0=bgonline.se.shared.schemas.messageTypes,bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandateresponse,impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse -u -or) Stub is crea
 ted OK.
> 2. However, when executing call to web service exception is thrown. I found out. After some fairly lengthy error localisation attempts, I finally found that the cause of the exemption was that the policy tag "<Trust13> had lost its attribute.
> 3. After manual patching of 2 instances of the policy tag to become "<sp:Trust13 xmlns:sp=\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702\" >" execution of the call to the Stub was without any error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2-4354) wsdl2Java removes policy tag Trust13 attribute

Posted by "Runo Barrdahl (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12714317#action_12714317 ] 

Runo Barrdahl commented on AXIS2-4354:
--------------------------------------

Dear Andreas:

DONE.

Best Regards, Runo 




> wsdl2Java removes policy tag Trust13 attribute
> ----------------------------------------------
>
>                 Key: AXIS2-4354
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4354
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>         Environment: jdk1.5.0_04, WinXP, Eclipse Axis2 1.4.1, Rampart 1.4, Addressing 1.4.1 - calling WebService on MS .NET platform
>            Reporter: Runo Barrdahl
>            Priority: Minor
>         Attachments: theMissingTrust13AttributeStub_WebService.wsdl
>
>
> 1. When using wsdl2Java (batch file command: C:\axis2-1.4.1\bin\wsdl2java -uri C:\EclipseLogViewer\BGC_NewAutoGiroWS\wsdl\MandateSearchService.wsdl -d xmlbeans -o C:\EclipseLogViewer\BGC_NewAutoGiroWS -p com.tieto.bgc.autogiro.ws -ns2p bgonline.se.mandatesearchservice.schemas.getmandatelistrequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistrequest,bgonline.se.mandatesearchservice.schemas.getmandatelistresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistresponse,bgonline.se.mandatesearchservice.schemas.getmandaterequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandaterequest,bgonline.se.shared.schemas.messageTypes.v1.0=bgonline.se.shared.schemas.messageTypes,bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandateresponse,impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse -u -or) Stub is crea
 ted OK.
> 2. However, when executing call to web service exception is thrown. I found out. After some fairly lengthy error localisation attempts, I finally found that the cause of the exemption was that the policy tag "<Trust13> had lost its attribute.
> 3. After manual patching of 2 instances of the policy tag to become "<sp:Trust13 xmlns:sp=\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702\" >" execution of the call to the Stub was without any error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2-4354) wsdl2Java removes policy tag Trust13 attribute

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713491#action_12713491 ] 

Andreas Veithen commented on AXIS2-4354:
----------------------------------------

Runo,

I'm ready to work on this issue, but I need a complete WSDL file that reproduces the problem.

> wsdl2Java removes policy tag Trust13 attribute
> ----------------------------------------------
>
>                 Key: AXIS2-4354
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4354
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>         Environment: jdk1.5.0_04, WinXP, Eclipse Axis2 1.4.1, Rampart 1.4, Addressing 1.4.1 - calling WebService on MS .NET platform
>            Reporter: Runo Barrdahl
>            Priority: Minor
>
> 1. When using wsdl2Java (batch file command: C:\axis2-1.4.1\bin\wsdl2java -uri C:\EclipseLogViewer\BGC_NewAutoGiroWS\wsdl\MandateSearchService.wsdl -d xmlbeans -o C:\EclipseLogViewer\BGC_NewAutoGiroWS -p com.tieto.bgc.autogiro.ws -ns2p bgonline.se.mandatesearchservice.schemas.getmandatelistrequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistrequest,bgonline.se.mandatesearchservice.schemas.getmandatelistresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistresponse,bgonline.se.mandatesearchservice.schemas.getmandaterequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandaterequest,bgonline.se.shared.schemas.messageTypes.v1.0=bgonline.se.shared.schemas.messageTypes,bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandateresponse,impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse -u -or) Stub is crea
 ted OK.
> 2. However, when executing call to web service exception is thrown. I found out. After some fairly lengthy error localisation attempts, I finally found that the cause of the exemption was that the policy tag "<Trust13> had lost its attribute.
> 3. After manual patching of 2 instances of the policy tag to become "<sp:Trust13 xmlns:sp=\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702\" >" execution of the call to the Stub was without any error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2-4354) wsdl2Java removes policy tag Trust13 attribute

Posted by "Runo Barrdahl (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12714992#action_12714992 ] 

Runo Barrdahl commented on AXIS2-4354:
--------------------------------------

Dear Andreas:

"fresh Axis2 1.4.1 distribution", is that identical to the one available
for download and dated something like 2008-08 ?
Because, I continue to get the error with my distribution, and the
configurations used.

Best Regards, Runo 




> wsdl2Java removes policy tag Trust13 attribute
> ----------------------------------------------
>
>                 Key: AXIS2-4354
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4354
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>         Environment: jdk1.5.0_04, WinXP, Eclipse Axis2 1.4.1, Rampart 1.4, Addressing 1.4.1 - calling WebService on MS .NET platform
>            Reporter: Runo Barrdahl
>            Assignee: Andreas Veithen
>            Priority: Minor
>         Attachments: theMissingTrust13AttributeStub_WebService-corrected-2nd.xml, theMissingTrust13AttributeStub_WebService-corrected.wsdl
>
>
> 1. When using wsdl2Java (batch file command: C:\axis2-1.4.1\bin\wsdl2java -uri C:\EclipseLogViewer\BGC_NewAutoGiroWS\wsdl\MandateSearchService.wsdl -d xmlbeans -o C:\EclipseLogViewer\BGC_NewAutoGiroWS -p com.tieto.bgc.autogiro.ws -ns2p bgonline.se.mandatesearchservice.schemas.getmandatelistrequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistrequest,bgonline.se.mandatesearchservice.schemas.getmandatelistresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistresponse,bgonline.se.mandatesearchservice.schemas.getmandaterequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandaterequest,bgonline.se.shared.schemas.messageTypes.v1.0=bgonline.se.shared.schemas.messageTypes,bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandateresponse,impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse -u -or) Stub is crea
 ted OK.
> 2. However, when executing call to web service exception is thrown. I found out. After some fairly lengthy error localisation attempts, I finally found that the cause of the exemption was that the policy tag "<Trust13> had lost its attribute.
> 3. After manual patching of 2 instances of the policy tag to become "<sp:Trust13 xmlns:sp=\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702\" >" execution of the call to the Stub was without any error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (AXIS2-4354) wsdl2Java removes policy tag Trust13 attribute

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

Andreas Veithen reassigned AXIS2-4354:
--------------------------------------

    Assignee: Andreas Veithen

> wsdl2Java removes policy tag Trust13 attribute
> ----------------------------------------------
>
>                 Key: AXIS2-4354
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4354
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>         Environment: jdk1.5.0_04, WinXP, Eclipse Axis2 1.4.1, Rampart 1.4, Addressing 1.4.1 - calling WebService on MS .NET platform
>            Reporter: Runo Barrdahl
>            Assignee: Andreas Veithen
>            Priority: Minor
>         Attachments: theMissingTrust13AttributeStub_WebService.wsdl
>
>
> 1. When using wsdl2Java (batch file command: C:\axis2-1.4.1\bin\wsdl2java -uri C:\EclipseLogViewer\BGC_NewAutoGiroWS\wsdl\MandateSearchService.wsdl -d xmlbeans -o C:\EclipseLogViewer\BGC_NewAutoGiroWS -p com.tieto.bgc.autogiro.ws -ns2p bgonline.se.mandatesearchservice.schemas.getmandatelistrequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistrequest,bgonline.se.mandatesearchservice.schemas.getmandatelistresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistresponse,bgonline.se.mandatesearchservice.schemas.getmandaterequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandaterequest,bgonline.se.shared.schemas.messageTypes.v1.0=bgonline.se.shared.schemas.messageTypes,bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandateresponse,impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse -u -or) Stub is crea
 ted OK.
> 2. However, when executing call to web service exception is thrown. I found out. After some fairly lengthy error localisation attempts, I finally found that the cause of the exemption was that the policy tag "<Trust13> had lost its attribute.
> 3. After manual patching of 2 instances of the policy tag to become "<sp:Trust13 xmlns:sp=\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702\" >" execution of the call to the Stub was without any error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2-4354) wsdl2Java removes policy tag Trust13 attribute

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713526#action_12713526 ] 

Andreas Veithen commented on AXIS2-4354:
----------------------------------------

I'm not asking for _the_ complete WSDL, but for _a_ complete WSDL that shows the problem. Take the original WSDL and strip it down to an anonymized version that still reproduces the problem.

> wsdl2Java removes policy tag Trust13 attribute
> ----------------------------------------------
>
>                 Key: AXIS2-4354
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4354
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>         Environment: jdk1.5.0_04, WinXP, Eclipse Axis2 1.4.1, Rampart 1.4, Addressing 1.4.1 - calling WebService on MS .NET platform
>            Reporter: Runo Barrdahl
>            Priority: Minor
>
> 1. When using wsdl2Java (batch file command: C:\axis2-1.4.1\bin\wsdl2java -uri C:\EclipseLogViewer\BGC_NewAutoGiroWS\wsdl\MandateSearchService.wsdl -d xmlbeans -o C:\EclipseLogViewer\BGC_NewAutoGiroWS -p com.tieto.bgc.autogiro.ws -ns2p bgonline.se.mandatesearchservice.schemas.getmandatelistrequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistrequest,bgonline.se.mandatesearchservice.schemas.getmandatelistresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistresponse,bgonline.se.mandatesearchservice.schemas.getmandaterequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandaterequest,bgonline.se.shared.schemas.messageTypes.v1.0=bgonline.se.shared.schemas.messageTypes,bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandateresponse,impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse -u -or) Stub is crea
 ted OK.
> 2. However, when executing call to web service exception is thrown. I found out. After some fairly lengthy error localisation attempts, I finally found that the cause of the exemption was that the policy tag "<Trust13> had lost its attribute.
> 3. After manual patching of 2 instances of the policy tag to become "<sp:Trust13 xmlns:sp=\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702\" >" execution of the call to the Stub was without any error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2-4354) wsdl2Java removes policy tag Trust13 attribute

Posted by "Runo Barrdahl (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715470#action_12715470 ] 

Runo Barrdahl commented on AXIS2-4354:
--------------------------------------

Dear Andreas:

Is there a more recent Apache Axis2-1.4.1 build than the one I have
access to (24-08-2008) ?
If so, I could see if the omitted Trust13 tag attribute error is
resolved there, since you are not able to reproduce the error.


Best Regards, Runo




> wsdl2Java removes policy tag Trust13 attribute
> ----------------------------------------------
>
>                 Key: AXIS2-4354
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4354
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>         Environment: jdk1.5.0_04, WinXP, Eclipse Axis2 1.4.1, Rampart 1.4, Addressing 1.4.1 - calling WebService on MS .NET platform
>            Reporter: Runo Barrdahl
>            Assignee: Andreas Veithen
>            Priority: Minor
>         Attachments: theMissingTrust13AttributeStub_WebService-corrected-2nd.xml
>
>
> 1. When using wsdl2Java (batch file command: C:\axis2-1.4.1\bin\wsdl2java -uri C:\EclipseLogViewer\BGC_NewAutoGiroWS\wsdl\MandateSearchService.wsdl -d xmlbeans -o C:\EclipseLogViewer\BGC_NewAutoGiroWS -p com.tieto.bgc.autogiro.ws -ns2p bgonline.se.mandatesearchservice.schemas.getmandatelistrequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistrequest,bgonline.se.mandatesearchservice.schemas.getmandatelistresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistresponse,bgonline.se.mandatesearchservice.schemas.getmandaterequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandaterequest,bgonline.se.shared.schemas.messageTypes.v1.0=bgonline.se.shared.schemas.messageTypes,bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandateresponse,impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse -u -or) Stub is crea
 ted OK.
> 2. However, when executing call to web service exception is thrown. I found out. After some fairly lengthy error localisation attempts, I finally found that the cause of the exemption was that the policy tag "<Trust13> had lost its attribute.
> 3. After manual patching of 2 instances of the policy tag to become "<sp:Trust13 xmlns:sp=\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702\" >" execution of the call to the Stub was without any error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AXIS2-4354) wsdl2Java removes policy tag Trust13 attribute

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

Runo Barrdahl updated AXIS2-4354:
---------------------------------

    Attachment: theMissingTrust13AttributeStub_WebService-corrected-2nd.xml

Corrected to not display unneccessary material

> wsdl2Java removes policy tag Trust13 attribute
> ----------------------------------------------
>
>                 Key: AXIS2-4354
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4354
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>         Environment: jdk1.5.0_04, WinXP, Eclipse Axis2 1.4.1, Rampart 1.4, Addressing 1.4.1 - calling WebService on MS .NET platform
>            Reporter: Runo Barrdahl
>            Assignee: Andreas Veithen
>            Priority: Minor
>         Attachments: theMissingTrust13AttributeStub_WebService-corrected-2nd.xml, theMissingTrust13AttributeStub_WebService-corrected.wsdl
>
>
> 1. When using wsdl2Java (batch file command: C:\axis2-1.4.1\bin\wsdl2java -uri C:\EclipseLogViewer\BGC_NewAutoGiroWS\wsdl\MandateSearchService.wsdl -d xmlbeans -o C:\EclipseLogViewer\BGC_NewAutoGiroWS -p com.tieto.bgc.autogiro.ws -ns2p bgonline.se.mandatesearchservice.schemas.getmandatelistrequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistrequest,bgonline.se.mandatesearchservice.schemas.getmandatelistresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistresponse,bgonline.se.mandatesearchservice.schemas.getmandaterequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandaterequest,bgonline.se.shared.schemas.messageTypes.v1.0=bgonline.se.shared.schemas.messageTypes,bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandateresponse,impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse -u -or) Stub is crea
 ted OK.
> 2. However, when executing call to web service exception is thrown. I found out. After some fairly lengthy error localisation attempts, I finally found that the cause of the exemption was that the policy tag "<Trust13> had lost its attribute.
> 3. After manual patching of 2 instances of the policy tag to become "<sp:Trust13 xmlns:sp=\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702\" >" execution of the call to the Stub was without any error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2-4354) wsdl2Java removes policy tag Trust13 attribute

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12714923#action_12714923 ] 

Andreas Veithen commented on AXIS2-4354:
----------------------------------------

I tried the (corrected version of the) WSDL with a fresh Axis2 1.4.1 binary distribution and I'm not able reproduce this. The serialized policy in the stub has the correct namespace declaration on the Trust13 element.

> wsdl2Java removes policy tag Trust13 attribute
> ----------------------------------------------
>
>                 Key: AXIS2-4354
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4354
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>         Environment: jdk1.5.0_04, WinXP, Eclipse Axis2 1.4.1, Rampart 1.4, Addressing 1.4.1 - calling WebService on MS .NET platform
>            Reporter: Runo Barrdahl
>            Assignee: Andreas Veithen
>            Priority: Minor
>         Attachments: theMissingTrust13AttributeStub_WebService-corrected.wsdl, theMissingTrust13AttributeStub_WebService.wsdl
>
>
> 1. When using wsdl2Java (batch file command: C:\axis2-1.4.1\bin\wsdl2java -uri C:\EclipseLogViewer\BGC_NewAutoGiroWS\wsdl\MandateSearchService.wsdl -d xmlbeans -o C:\EclipseLogViewer\BGC_NewAutoGiroWS -p com.tieto.bgc.autogiro.ws -ns2p bgonline.se.mandatesearchservice.schemas.getmandatelistrequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistrequest,bgonline.se.mandatesearchservice.schemas.getmandatelistresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistresponse,bgonline.se.mandatesearchservice.schemas.getmandaterequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandaterequest,bgonline.se.shared.schemas.messageTypes.v1.0=bgonline.se.shared.schemas.messageTypes,bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandateresponse,impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse -u -or) Stub is crea
 ted OK.
> 2. However, when executing call to web service exception is thrown. I found out. After some fairly lengthy error localisation attempts, I finally found that the cause of the exemption was that the policy tag "<Trust13> had lost its attribute.
> 3. After manual patching of 2 instances of the policy tag to become "<sp:Trust13 xmlns:sp=\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702\" >" execution of the call to the Stub was without any error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2-4354) wsdl2Java removes policy tag Trust13 attribute

Posted by "Runo Barrdahl (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713528#action_12713528 ] 

Runo Barrdahl commented on AXIS2-4354:
--------------------------------------

Dear Andreas:

Of course, I could send you the wsdl stripped from URL information.
Here it comes:
"
<?xml version="1.0" encoding="utf-8"?><wsdl:definitions
name="theXXX_WebService"
targetNamespace="http://theSecondDomain/ws/theCatalogue"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssec
urity-utility-1.0.xsd"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"
xmlns:tns="http://theSecondDomain/ws/theCatalogue"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract"
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:wsa10="http://www.w3.org/2005/08/addressing"
xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"><wsp:Policy
wsu:Id="theXXX_WebService_policy"><wsp:ExactlyOne><wsp:All><sp:Transport
Binding
xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702"><ws
p:Policy><sp:TransportToken><wsp:Policy><sp:HttpsToken/></wsp:Policy></s
p:TransportToken><sp:AlgorithmSuite><wsp:Policy><sp:Basic256/></wsp:Poli
cy></sp:AlgorithmSuite><sp:Layout><wsp:Policy><sp:Strict/></wsp:Policy><
/sp:Layout><sp:IncludeTimestamp/></wsp:Policy></sp:TransportBinding><sp:
SignedEncryptedSupportingTokens
xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702"><ws
p:Policy><sp:UsernameToken
sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/2007
02/IncludeToken/AlwaysToRecipient"><wsp:Policy><sp:WssUsernameToken10/><
/wsp:Policy></sp:UsernameToken></wsp:Policy></sp:SignedEncryptedSupporti
ngTokens><sp:Wss11
xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702"><ws
p:Policy><sp:MustSupportRefKeyIdentifier/><sp:MustSupportRefIssuerSerial
/><sp:MustSupportRefThumbprint/><sp:MustSupportRefEncryptedKey/></wsp:Po
licy></sp:Wss11><sp:Trust13
xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702"><ws
p:Policy><sp:MustSupportIssuedTokens/><sp:RequireClientEntropy/><sp:Requ
ireServerEntropy/></wsp:Policy></sp:Trust13><wsaw:UsingAddressing/></wsp
:All></wsp:ExactlyOne></wsp:Policy><wsdl:types><xsd:schema
elementFormDefault="qualified"
targetNamespace="http://theOtherDomain/ws/theCatalogue"><xsd:element
name="GetMandateList"><xsd:complexType><xsd:sequence><xsd:element
minOccurs="0" name="request" nillable="true"
type="q1:getMandateListRequest"
xmlns:q1="urn:theSecondDomain.theXXX_Webservice.schemas.getmandatelistre
quest.v1.0"/></xsd:sequence></xsd:complexType></xsd:element><xsd:element
name="GetMandateListResponse"><xsd:complexType><xsd:sequence><xsd:elemen
t minOccurs="0" name="GetMandateListResult" nillable="true"
type="q2:getMandateListResponse"
xmlns:q2="urn:theSecondDomain.theXXX_Webservice.schemas.getmandatelistre
sponse.v1.0"/></xsd:sequence></xsd:complexType></xsd:element><xsd:elemen
t name="GetMandate"><xsd:complexType><xsd:sequence><xsd:element
minOccurs="0" name="request" nillable="true" type="q3:getMandateRequest"
xmlns:q3="urn:theSecondDomain.theXXX_Webservice.schemas.getmandatereques
t.v1.0"/></xsd:sequence></xsd:complexType></xsd:element><xsd:element
name="GetMandateResponse"><xsd:complexType><xsd:sequence><xsd:element
minOccurs="0" name="GetMandateResult" nillable="true"
type="q4:getMandateResponse"
xmlns:q4="urn:theSecondDomain.theXXX_Webservice.schemas.getmandaterespon
se.v1.0"/></xsd:sequence></xsd:complexType></xsd:element></xsd:schema><x
sd:schema elementFormDefault="qualified"
targetNamespace="urn:theSecondDomain.theXXX_Webservice.schemas.getmandat
elistrequest.v1.0"
xmlns:tns="urn:theSecondDomain.theXXX_Webservice.schemas.getmandatelistr
equest.v1.0"><xsd:complexType
name="getMandateListRequest"><xsd:sequence><xsd:element name="context"
nillable="true" type="q5:requestContext"
xmlns:q5="urn:theSecondDomain.shared.schemas.messageTypes.v1.0"><xsd:ann
otation><xsd:appinfo><DefaultValue EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element name="request"
nillable="true"
type="tns:getMandateListRequest.requestType"><xsd:annotation><xsd:appinf
o><DefaultValue EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element></xsd:sequence></xsd:complexType><xsd:
element name="getMandateListRequest" nillable="true"
type="tns:getMandateListRequest"/><xsd:complexType
name="getMandateListRequest.requestType"><xsd:sequence><xsd:element
name="result" nillable="true" type="q6:resultRestriction"
xmlns:q6="urn:theSecondDomain.shared.schemas.messageTypes.v1.0"><xsd:ann
otation><xsd:appinfo><DefaultValue EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element name="searchCriterias"
nillable="true"
type="tns:getMandateListRequest.requestType.searchCriteriasType"><xsd:an
notation><xsd:appinfo><DefaultValue EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element></xsd:sequence></xsd:complexType><xsd:
element name="getMandateListRequest.requestType" nillable="true"
type="tns:getMandateListRequest.requestType"/><xsd:complexType
name="getMandateListRequest.requestType.searchCriteriasType"><xsd:sequen
ce><xsd:element minOccurs="0" name="debtorBankAccountNumber"
nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element name="debtorCivicNumber"
nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element minOccurs="0"
name="debtorPayerNumber" type="xsd:long"/><xsd:element minOccurs="0"
name="mandateStatus" nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element></xsd:sequence></xsd:complexType><xsd:
element name="getMandateListRequest.requestType.searchCriteriasType"
nillable="true"
type="tns:getMandateListRequest.requestType.searchCriteriasType"/></xsd:
schema><xsd:schema elementFormDefault="qualified"
targetNamespace="urn:theSecondDomain.shared.schemas.messageTypes.v1.0"
xmlns:tns="urn:theSecondDomain.shared.schemas.messageTypes.v1.0"><xsd:co
mplexType name="requestContext"><xsd:sequence><xsd:element minOccurs="0"
name="messageId" nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element name="mainClearingNumber"
nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element name="clearingNumber"
nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element name="requestInitiator"
type="tns:requestContext.requestInitiatorType"/><xsd:element
name="timestamp" type="xsd:dateTime"/><xsd:element name="userId"
nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element></xsd:sequence></xsd:complexType><xsd:
element name="requestContext" nillable="true"
type="tns:requestContext"/><xsd:simpleType
name="requestContext.requestInitiatorType"><xsd:restriction
base="xsd:string"><xsd:enumeration value="BB"/><xsd:enumeration
value="B"/></xsd:restriction></xsd:simpleType><xsd:element
name="requestContext.requestInitiatorType" nillable="true"
type="tns:requestContext.requestInitiatorType"/><xsd:complexType
name="resultRestriction"><xsd:sequence><xsd:element minOccurs="0"
name="rowRestriction" nillable="true"
type="tns:resultRestriction.rowRestrictionType"><xsd:annotation><xsd:app
info><DefaultValue EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element></xsd:sequence></xsd:complexType><xsd:
element name="resultRestriction" nillable="true"
type="tns:resultRestriction"/><xsd:complexType
name="resultRestriction.rowRestrictionType"><xsd:sequence><xsd:element
name="fromCount" type="xsd:long"/><xsd:element name="toCount"
type="xsd:long"/></xsd:sequence></xsd:complexType><xsd:element
name="resultRestriction.rowRestrictionType" nillable="true"
type="tns:resultRestriction.rowRestrictionType"/><xsd:complexType
name="responseContext"><xsd:sequence><xsd:element name="messageId"
nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element name="correlationId"
nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element name="statusCode"
type="tns:responseContext.statusCodeType"/><xsd:element name="timestamp"
type="xsd:dateTime"/><xsd:element minOccurs="0" name="fault"
nillable="true"
type="tns:responseContext.faultType"><xsd:annotation><xsd:appinfo><Defau
ltValue EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element></xsd:sequence></xsd:complexType><xsd:
element name="responseContext" nillable="true"
type="tns:responseContext"/><xsd:simpleType
name="responseContext.statusCodeType"><xsd:restriction
base="xsd:string"><xsd:enumeration value="ACK"/><xsd:enumeration
value="NACK"/></xsd:restriction></xsd:simpleType><xsd:element
name="responseContext.statusCodeType" nillable="true"
type="tns:responseContext.statusCodeType"/><xsd:complexType
name="responseContext.faultType"><xsd:sequence><xsd:element
name="errorCode" nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element name="errorMessage"
nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element minOccurs="0"
name="propertyBag" nillable="true"
type="tns:responseContext.faultType.propertyBagType"><xsd:annotation><xs
d:appinfo><DefaultValue EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element></xsd:sequence></xsd:complexType><xsd:
element name="responseContext.faultType" nillable="true"
type="tns:responseContext.faultType"/><xsd:complexType
name="responseContext.faultType.propertyBagType"><xsd:sequence><xsd:elem
ent minOccurs="0" maxOccurs="unbounded" name="property" nillable="true"
type="tns:property"/></xsd:sequence></xsd:complexType><xsd:element
name="responseContext.faultType.propertyBagType" nillable="true"
type="tns:responseContext.faultType.propertyBagType"/><xsd:complexType
name="property"><xsd:sequence><xsd:element name="key" nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element name="value"
nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element></xsd:sequence></xsd:complexType><xsd:
element name="property" nillable="true"
type="tns:property"/></xsd:schema><xsd:schema
elementFormDefault="qualified"
targetNamespace="urn:theSecondDomain.theXXX_Webservice.schemas.getmandat
elistresponse.v1.0"
xmlns:tns="urn:theSecondDomain.theXXX_Webservice.schemas.getmandatelistr
esponse.v1.0"><xsd:complexType
name="getMandateListResponse"><xsd:sequence><xsd:element name="context"
nillable="true" type="q7:responseContext"
xmlns:q7="urn:theSecondDomain.shared.schemas.messageTypes.v1.0"><xsd:ann
otation><xsd:appinfo><DefaultValue EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element minOccurs="0"
name="response" nillable="true"
type="tns:getMandateListResponse.responseType"><xsd:annotation><xsd:appi
nfo><DefaultValue EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element></xsd:sequence></xsd:complexType><xsd:
element name="getMandateListResponse" nillable="true"
type="tns:getMandateListResponse"/><xsd:complexType
name="getMandateListResponse.responseType"><xsd:sequence><xsd:element
name="totalItemCount" type="xsd:long"/><xsd:element name="mandateList"
nillable="true"
type="tns:getMandateListResponse.responseType.mandateListType"><xsd:anno
tation><xsd:appinfo><DefaultValue EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element></xsd:sequence></xsd:complexType><xsd:
element name="getMandateListResponse.responseType" nillable="true"
type="tns:getMandateListResponse.responseType"/><xsd:complexType
name="getMandateListResponse.responseType.mandateListType"><xsd:sequence
nillable="true"
type="tns:mandate"/></xsd:sequence></xsd:complexType><xsd:element
name="getMandateListResponse.responseType.mandateListType"
nillable="true"
type="tns:getMandateListResponse.responseType.mandateListType"/><xsd:com
plexType name="mandate"><xsd:sequence><xsd:element name="mandateId"
nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element name="mandateStatus"
nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element minOccurs="0"
name="mandateStatusDescription" nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element minOccurs="0"
name="accountNumber" nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element minOccurs="0"
name="debtorPayerNumber" nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element
name="isMandateBasedOnBGNumber" type="xsd:boolean"/><xsd:element
name="debtorCivicNumberOrCorpIDNumber" nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element name="creditor"
nillable="true"
type="tns:mandate.creditorType"><xsd:annotation><xsd:appinfo><DefaultVal
ue EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element></xsd:sequence></xsd:complexType><xsd:
element name="mandate" nillable="true"
type="tns:mandate"/><xsd:complexType
name="mandate.creditorType"><xsd:sequence><xsd:element minOccurs="0"
name="bgNumber" nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element name="corporateIDNumber"
nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element name="shortName"
nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element name="name"
nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element minOccurs="0"
name="webSiteAddress" nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element minOccurs="0"
name="typeOfPayment" nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element name="postalAddress"
nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element></xsd:sequence></xsd:complexType><xsd:
element name="mandate.creditorType" nillable="true"
type="tns:mandate.creditorType"/></xsd:schema><xsd:schema
elementFormDefault="qualified"
targetNamespace="urn:theSecondDomain.theXXX_Webservice.schemas.getmandat
erequest.v1.0"
xmlns:tns="urn:theSecondDomain.theXXX_Webservice.schemas.getmandatereque
st.v1.0"><xsd:complexType
name="getMandateRequest"><xsd:sequence><xsd:element name="context"
nillable="true" type="q8:requestContext"
xmlns:q8="urn:theSecondDomain.shared.schemas.messageTypes.v1.0"><xsd:ann
otation><xsd:appinfo><DefaultValue EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element name="request"
nillable="true"
type="tns:getMandateRequest.requestType"><xsd:annotation><xsd:appinfo><D
efaultValue EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element></xsd:sequence></xsd:complexType><xsd:
element name="getMandateRequest" nillable="true"
type="tns:getMandateRequest"/><xsd:complexType
name="getMandateRequest.requestType"><xsd:sequence><xsd:element
name="mandateId" nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element></xsd:sequence></xsd:complexType><xsd:
element name="getMandateRequest.requestType" nillable="true"
type="tns:getMandateRequest.requestType"/></xsd:schema><xsd:schema
elementFormDefault="qualified"
targetNamespace="urn:theSecondDomain.theXXX_Webservice.schemas.getmandat
eresponse.v1.0"
xmlns:tns="urn:theSecondDomain.theXXX_Webservice.schemas.getmandaterespo
nse.v1.0"><xsd:complexType
name="getMandateResponse"><xsd:sequence><xsd:element name="context"
nillable="true" type="q9:responseContext"
xmlns:q9="urn:theSecondDomain.shared.schemas.messageTypes.v1.0"><xsd:ann
otation><xsd:appinfo><DefaultValue EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element minOccurs="0"
name="response" nillable="true"
type="tns:getMandateResponse.responseType"><xsd:annotation><xsd:appinfo>
<DefaultValue EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element></xsd:sequence></xsd:complexType><xsd:
element name="getMandateResponse" nillable="true"
type="tns:getMandateResponse"/><xsd:complexType
name="getMandateResponse.responseType"><xsd:sequence><xsd:element
name="mandate" nillable="true"
type="tns:getMandateResponse.responseType.mandateType"><xsd:annotation><
xsd:appinfo><DefaultValue EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element></xsd:sequence></xsd:complexType><xsd:
element name="getMandateResponse.responseType" nillable="true"
type="tns:getMandateResponse.responseType"/><xsd:complexType
name="getMandateResponse.responseType.mandateType"><xsd:sequence><xsd:el
ement name="mandateStatus" nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element
name="mandateStatusDescription" nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element minOccurs="0"
name="debtorAccountNumber" nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element name="debtorPayerNumber"
nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element
name="isMandateBasedOnBGNumber" type="xsd:boolean"/><xsd:element
name="registrationDateTime" type="xsd:dateTime"/><xsd:element
name="activationDate" nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element name="creditor"
nillable="true"
type="tns:getMandateResponse.responseType.mandateType.creditorType"><xsd
:annotation><xsd:appinfo><DefaultValue EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element></xsd:sequence></xsd:complexType><xsd:
element name="getMandateResponse.responseType.mandateType"
nillable="true"
type="tns:getMandateResponse.responseType.mandateType"/><xsd:complexType
name="getMandateResponse.responseType.mandateType.creditorType"><xsd:seq
uence><xsd:element name="bgNumber" nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element minOccurs="0"
name="corporateIDNumber" nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element minOccurs="0"
name="shortName" nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element minOccurs="0" name="name"
nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element name="address"
nillable="true"
type="tns:getMandateResponse.responseType.mandateType.creditorType.addre
ssType"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element minOccurs="0"
name="phoneNumber" nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element minOccurs="0"
name="webSiteAddress" nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element minOccurs="0"
name="typeOfPayment" nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element></xsd:sequence></xsd:complexType><xsd:
element name="getMandateResponse.responseType.mandateType.creditorType"
nillable="true"
type="tns:getMandateResponse.responseType.mandateType.creditorType"/><xs
d:complexType
name="getMandateResponse.responseType.mandateType.creditorType.addressTy
pe"><xsd:sequence><xsd:element minOccurs="0" name="streetAddress"
nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element minOccurs="0"
name="coAddress" nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element minOccurs="0"
name="postalCode" nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element><xsd:element minOccurs="0"
name="postalAddress" nillable="true"
type="xsd:string"><xsd:annotation><xsd:appinfo><DefaultValue
EmitDefaultValue="false"
xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/></xsd:appin
fo></xsd:annotation></xsd:element></xsd:sequence></xsd:complexType><xsd:
element
name="getMandateResponse.responseType.mandateType.creditorType.addressTy
pe" nillable="true"
type="tns:getMandateResponse.responseType.mandateType.creditorType.addre
ssType"/></xsd:schema><xsd:schema elementFormDefault="qualified"
targetNamespace="http://schemas.datacontract.org/2004/07/BGC.IS.Integrat
ion.Shared.Interface"
xmlns:tns="http://schemas.datacontract.org/2004/07/BGC.IS.Integration.Sh
ared.Interface"><xsd:complexType
name="IntegrationFaultContract"><xsd:sequence><xsd:element minOccurs="0"
name="Message" nillable="true" type="xsd:string"/><xsd:element
minOccurs="0" name="Type" nillable="true"
type="xsd:string"/></xsd:sequence></xsd:complexType><xsd:element
name="IntegrationFaultContract" nillable="true"
type="tns:IntegrationFaultContract"/></xsd:schema><xs:schema
attributeFormDefault="qualified" elementFormDefault="qualified"
targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/"><xs:elem
ent name="anyType" nillable="true" type="xs:anyType"/><xs:element
name="anyURI" nillable="true" type="xs:anyURI"/><xs:element
name="base64Binary" nillable="true" type="xs:base64Binary"/><xs:element
name="boolean" nillable="true" type="xs:boolean"/><xs:element
name="byte" nillable="true" type="xs:byte"/><xs:element name="dateTime"
nillable="true" type="xs:dateTime"/><xs:element name="decimal"
nillable="true" type="xs:decimal"/><xs:element name="double"
nillable="true" type="xs:double"/><xs:element name="float"
nillable="true" type="xs:float"/><xs:element name="int" nillable="true"
type="xs:int"/><xs:element name="long" nillable="true"
type="xs:long"/><xs:element name="QName" nillable="true"
type="xs:QName"/><xs:element name="short" nillable="true"
type="xs:short"/><xs:element name="string" nillable="true"
type="xs:string"/><xs:element name="unsignedByte" nillable="true"
type="xs:unsignedByte"/><xs:element name="unsignedInt" nillable="true"
type="xs:unsignedInt"/><xs:element name="unsignedLong" nillable="true"
type="xs:unsignedLong"/><xs:element name="unsignedShort" nillable="true"
type="xs:unsignedShort"/><xs:element name="char" nillable="true"
type="tns:char"/><xs:simpleType name="char"><xs:restriction
base="xs:int"/></xs:simpleType><xs:element name="duration"
nillable="true" type="tns:duration"/><xs:simpleType
name="duration"><xs:restriction base="xs:duration"><xs:pattern
value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?"/><xs:minInclusive
value="-P10675199DT2H48M5.4775808S"/><xs:maxInclusive
value="P10675199DT2H48M5.4775807S"/></xs:restriction></xs:simpleType><xs
:element name="guid" nillable="true" type="tns:guid"/><xs:simpleType
name="guid"><xs:restriction base="xs:string"><xs:pattern
value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F
]{12}"/></xs:restriction></xs:simpleType><xs:attribute
name="FactoryType" type="xs:QName"/><xs:attribute name="Id"
type="xs:ID"/><xs:attribute name="Ref"
type="xs:IDREF"/></xs:schema></wsdl:types><wsdl:message
name="ItheXXX_WebService_GetMandateList_InputMessage"><wsdl:part
name="parameters"
element="tns:GetMandateList"/></wsdl:message><wsdl:message
name="ItheXXX_WebService_GetMandateList_OutputMessage"><wsdl:part
name="parameters"
element="tns:GetMandateListResponse"/></wsdl:message><wsdl:message
name="ItheXXX_WebService_GetMandateList_IntegrationFaultContractFault_Fa
ultMessage"><wsdl:part name="detail"
element="q10:IntegrationFaultContract"
xmlns:q10="http://schemas.datacontract.org/2004/07/BGC.IS.Integration.Sh
ared.Interface"/></wsdl:message><wsdl:message
name="ItheXXX_WebService_GetMandate_InputMessage"><wsdl:part
name="parameters" element="tns:GetMandate"/></wsdl:message><wsdl:message
name="ItheXXX_WebService_GetMandate_OutputMessage"><wsdl:part
name="parameters"
element="tns:GetMandateResponse"/></wsdl:message><wsdl:message
name="ItheXXX_WebService_GetMandate_IntegrationFaultContractFault_FaultM
essage"><wsdl:part name="detail" element="q11:IntegrationFaultContract"
xmlns:q11="http://schemas.datacontract.org/2004/07/BGC.IS.Integration.Sh
ared.Interface"/></wsdl:message><wsdl:portType
name="ItheXXX_WebService"><wsdl:operation
name="GetMandateList"><wsdl:input
wsaw:Action="http://theSecondDomain/ws/theCatalogue/ItheXXX_WebService/G
etMandateList"
message="tns:ItheXXX_WebService_GetMandateList_InputMessage"/><wsdl:outp
ut
wsaw:Action="http://theSecondDomain/ws/theCatalogue/ItheXXX_WebService/G
etMandateListResponse"
message="tns:ItheXXX_WebService_GetMandateList_OutputMessage"/><wsdl:fau
lt
wsaw:Action="http://theSecondDomain/ws/theCatalogue/ItheXXX_WebService/G
etMandateListIntegrationFaultContractFault"
name="IntegrationFaultContractFault"
message="tns:ItheXXX_WebService_GetMandateList_IntegrationFaultContractF
ault_FaultMessage"/></wsdl:operation><wsdl:operation
name="GetMandate"><wsdl:input
wsaw:Action="http://theSecondDomain/ws/theCatalogue/ItheXXX_WebService/G
etMandate"
message="tns:ItheXXX_WebService_GetMandate_InputMessage"/><wsdl:output
wsaw:Action="http://theSecondDomain/ws/theCatalogue/ItheXXX_WebService/G
etMandateResponse"
message="tns:ItheXXX_WebService_GetMandate_OutputMessage"/><wsdl:fault
wsaw:Action="http://theSecondDomain/ws/theCatalogue/ItheXXX_WebService/G
etMandateIntegrationFaultContractFault"
name="IntegrationFaultContractFault"
message="tns:ItheXXX_WebService_GetMandate_IntegrationFaultContractFault
_FaultMessage"/></wsdl:operation></wsdl:portType><wsdl:binding
name="theXXX_WebService"
type="tns:ItheXXX_WebService"><wsp:PolicyReference
URI="#theXXX_WebService_policy"/><soap12:binding
transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation
name="GetMandateList"><soap12:operation
soapAction="http://theSecondDomain/ws/autogiro/ItheXXX_WebService/GetMan
dateList" style="document"/><wsdl:input><soap12:body
use="literal"/></wsdl:input><wsdl:output><soap12:body
use="literal"/></wsdl:output><wsdl:fault
name="IntegrationFaultContractFault"><soap12:fault
name="IntegrationFaultContractFault"
use="literal"/></wsdl:fault></wsdl:operation><wsdl:operation
name="GetMandate"><soap12:operation
soapAction="http://theSecondDomain/ws/theCatalogue/ItheXXX_WebService/Ge
tMandate" style="document"/><wsdl:input><soap12:body
use="literal"/></wsdl:input><wsdl:output><soap12:body
use="literal"/></wsdl:output><wsdl:fault
name="IntegrationFaultContractFault"><soap12:fault
name="IntegrationFaultContractFault"
use="literal"/></wsdl:fault></wsdl:operation></wsdl:binding><wsdl:servic
e name="theXXX_WebService"><wsdl:port name="theXXX_WebService"
binding="tns:theXXX_WebService"><soap12:address
location="https://theDummyDomainNamePart.theDomain/ws/theCatalogue/theXX
X_WebService.svc"/><wsa10:EndpointReference><wsa10:Address>https://theDu
mmyDomainNamePart.theDomain/ws/theCatalogue/theXXX_WebService.svc</wsa10
:Address></wsa10:EndpointReference></wsdl:port></wsdl:service></wsdl:def
initions>
" 

Best Regards, Runo

_______________________________

Runo Barrdahl
TietoEnator Banking & Insurance

Mobile: +46 709 79 04 07
_______________________________


-----Original Message-----
From: Andreas Veithen (JIRA) [mailto:jira@apache.org] 
Sent: den 27 maj 2009 11:33
To: Barrdahl Runo
Subject: [jira] Commented: (AXIS2-4354) wsdl2Java removes policy tag
Trust13 attribute


    [
https://issues.apache.org/jira/browse/AXIS2-4354?page=com.atlassian.jira
.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713491
#action_12713491 ] 

Andreas Veithen commented on AXIS2-4354:
----------------------------------------

Runo,

I'm ready to work on this issue, but I need a complete WSDL file that
reproduces the problem.

1.4, Addressing 1.4.1 - calling WebService on MS .NET platform
C:\axis2-1.4.1\bin\wsdl2java -uri
C:\EclipseLogViewer\BGC_NewAutoGiroWS\wsdl\MandateSearchService.wsdl -d
xmlbeans -o C:\EclipseLogViewer\BGC_NewAutoGiroWS -p
com.tieto.bgc.autogiro.ws -ns2p
bgonline.se.mandatesearchservice.schemas.getmandatelistrequest.v1.0=bgon
line.se.mandatesearchservice.schemas.getmandatelistrequest,bgonline.se.m
andatesearchservice.schemas.getmandatelistresponse.v1.0=bgonline.se.mand
atesearchservice.schemas.getmandatelistresponse,bgonline.se.mandatesearc
hservice.schemas.getmandaterequest.v1.0=bgonline.se.mandatesearchservice
.schemas.getmandaterequest,bgonline.se.shared.schemas.messageTypes.v1.0=
bgonline.se.shared.schemas.messageTypes,bgonline.se.mandatesearchservice
.schemas.getmandateresponse.v1.0=bgonline.se.mandatesearchservice.schema
s.getmandateresponse,impl.bgonline.se.mandatesearchservice.schemas.getma
ndateresponse.v1.0=impl.bgonline.se.mandatesearchservice.schemas.getmand
ateresponse -u -or) Stub is crea
 ted OK.
found out. After some fairly lengthy error localisation attempts, I
finally found that the cause of the exemption was that the policy tag
"<Trust13> had lost its attribute.
"<sp:Trust13
xmlns:sp=\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702\"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



> wsdl2Java removes policy tag Trust13 attribute
> ----------------------------------------------
>
>                 Key: AXIS2-4354
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4354
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>         Environment: jdk1.5.0_04, WinXP, Eclipse Axis2 1.4.1, Rampart 1.4, Addressing 1.4.1 - calling WebService on MS .NET platform
>            Reporter: Runo Barrdahl
>            Priority: Minor
>
> 1. When using wsdl2Java (batch file command: C:\axis2-1.4.1\bin\wsdl2java -uri C:\EclipseLogViewer\BGC_NewAutoGiroWS\wsdl\MandateSearchService.wsdl -d xmlbeans -o C:\EclipseLogViewer\BGC_NewAutoGiroWS -p com.tieto.bgc.autogiro.ws -ns2p bgonline.se.mandatesearchservice.schemas.getmandatelistrequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistrequest,bgonline.se.mandatesearchservice.schemas.getmandatelistresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandatelistresponse,bgonline.se.mandatesearchservice.schemas.getmandaterequest.v1.0=bgonline.se.mandatesearchservice.schemas.getmandaterequest,bgonline.se.shared.schemas.messageTypes.v1.0=bgonline.se.shared.schemas.messageTypes,bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=bgonline.se.mandatesearchservice.schemas.getmandateresponse,impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse.v1.0=impl.bgonline.se.mandatesearchservice.schemas.getmandateresponse -u -or) Stub is crea
 ted OK.
> 2. However, when executing call to web service exception is thrown. I found out. After some fairly lengthy error localisation attempts, I finally found that the cause of the exemption was that the policy tag "<Trust13> had lost its attribute.
> 3. After manual patching of 2 instances of the policy tag to become "<sp:Trust13 xmlns:sp=\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702\" >" execution of the call to the Stub was without any error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.