[ 
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.

Reply via email to