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 Håkon Sagehaug <Ha...@bccs.uib.no> on 2009/01/26 11:32:47 UTC

Failed when creating xmlbeans binding from WS-Trust.wsdl

Hi

I wanted to make a STS service and copied the WS-Trust.wsdl from the
ws-trust specification and added binding and service description, but when I
want to create an xmlbeans binding I  get this error

Caused by: java.lang.RuntimeException: org.apache.xmlbeans.XmlException:
http://schemas.xmlsoap.org/ws/2004/08/addressing/:61:1: error:
cvc-enumeration-valid: string value 'none' is not a valid enumeration value
for type of processContents attribute in xs:wildcard


I use this command

 wsdl2java.sh -uri wsdl/WS-Trust.wsdl -ss -d xmlbeans -sd -p
no.plab.hakont.sts -s

and running axis2 1.4.1

Any hits on this, since I 've not done anything else then adding a binding
and service to the wsdl I dont get what's wrong in this case.

cheers, Håkon

-- 
Håkon Sagehaug, Software Developer
Parallab, Bergen Center for Computational Science (BCCS)
UNIFOB AS (University of Bergen Research Company)

Re: Failed when creating xmlbeans binding from WS-Trust.wsdl

Posted by Håkon Sagehaug <Ha...@bccs.uib.no>.
Hi

Here is the wsdl

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://no.plab/hakont/sts"
    xmlns:tns="http://no.plab/hakont/sts" xmlns:wst="
http://schemas.xmlsoap.org/ws/2005/02/trust"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="
http://www.w3.org/2001/XMLSchema"
    name="EsysbioStSService" xmlns:soap="
http://schemas.xmlsoap.org/wsdl/soap/">
    <!-- this is the WS-I BP-compliant way to import a schema -->
    <wsdl:types>
        <xs:schema  xmlns:xs="http://www.w3.org/2001/XMLSchema">
            <xs:import namespace="
http://schemas.xmlsoap.org/ws/2005/02/trust"
                schemaLocation="ws-trust.xsd" />

        </xs:schema>
    </wsdl:types>

    <!-- WS-Trust defines the following GEDs -->
    <wsdl:message name="RequestSecurityTokenMsg">
        <wsdl:part name="request" element="wst:RequestedSecurityToken" />
    </wsdl:message>
    <wsdl:message name="RequestSecurityTokenResponseMsg">
        <wsdl:part name="response"
element="wst:RequestSecurityTokenResponse" />
    </wsdl:message>
    <wsdl:message name="RequestSecurityTokenResponseCollectionMsg">
        <wsdl:part name="responseCollection"
element="wst:RequestSecurityTokenResponseCollection" />
    </wsdl:message>

    <!--
        This portType models the full request/response the Security Token
        Service:
    -->

    <wsdl:portType name="WSSecurityRequestor">
        <wsdl:operation name="SecurityTokenResponse">
            <wsdl:input message="tns:RequestSecurityTokenResponseMsg" />
        </wsdl:operation>
        <wsdl:operation name="SecurityTokenResponse2">
            <wsdl:input
message="tns:RequestSecurityTokenResponseCollectionMsg" />
        </wsdl:operation>
        <wsdl:operation name="Challenge">
            <wsdl:input message="tns:RequestSecurityTokenResponseMsg" />
            <wsdl:output message="tns:RequestSecurityTokenResponseMsg" />
        </wsdl:operation>
        <wsdl:operation name="Challenge2">
            <wsdl:input message="tns:RequestSecurityTokenResponseMsg" />
            <wsdl:output
message="tns:RequestSecurityTokenResponseCollectionMsg" />
        </wsdl:operation>
    </wsdl:portType>

    <!-- These portTypes model the individual message exchanges
-->
    <wsdl:portType name="SecurityTokenRequestService">
        <wsdl:operation name="RequestSecurityToken">
            <wsdl:input message="tns:RequestSecurityTokenMsg" />
        </wsdl:operation>
    </wsdl:portType>

    <wsdl:portType name="SecurityTokenService">
        <wsdl:operation name="RequestSecurityToken">
            <wsdl:input message="tns:RequestSecurityTokenMsg" />
            <wsdl:output message="tns:RequestSecurityTokenResponseMsg"/>
        </wsdl:operation>
    </wsdl:portType>

    <wsdl:binding name="STSBinding" type="tns:SecurityTokenService">
        <soap:binding style="document"
            transport="http://schemas.xmlsoap.org/soap/http" />
        <wsdl:operation name="RequestSecurityToken">
            <soap:operation
                soapAction="
http://schemas.xmlsoap.org/ws/2005/02/trust/wsdl/RequestSecurityToken" />
            <wsdl:input>
                <soap:body use="literal" />
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal" />
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="EsysbioStSService">
        <wsdl:port name="EsysbioSTS" binding="tns:STSBinding">
            <soap:address location="http://localhost:8080/axis2/services/STS"
/>
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>


2009/1/26 Martin Gainty <mg...@hotmail.com>

>  Appears you have a nill value in a non=nillable element in your XSD
>
> <xsd:element name="Bredsgården" nillable="false">
>
> Can you display the WSDL for US?
>
> Takk/
> Martin Gainty
> ______________________________________________
> Disclaimer and confidentiality note
> Everything in this e-mail and any attachments relates to the official
> business of Sender. This transmission is of a confidential nature and Sender
> does not endorse distribution to any party other than intended recipient.
> Sender does not necessarily endorse content contained within this
> transmission.
>
>
>
>
> ------------------------------
> Date: Mon, 26 Jan 2009 14:42:16 +0100
> Subject: Re: Failed when creating xmlbeans binding from WS-Trust.wsdl
> From: Hakon.Sagehaug@bccs.uib.no
> To: axis-dev@ws.apache.org
>
>
> Hi
>
> I can compile the schema on it's own using xmlbeans, but not when I want to
> create ws stub classes using the xmlbeans binding.
>
> cheers, Håkon
>
> 2009/1/26 Håkon Sagehaug <Ha...@bccs.uib.no>
>
> Hi
>
> I wanted to make a STS service and copied the WS-Trust.wsdl from the
> ws-trust specification and added binding and service description, but when I
> want to create an xmlbeans binding I  get this error
>
> Caused by: java.lang.RuntimeException: org.apache.xmlbeans.XmlException:
> http://schemas.xmlsoap.org/ws/2004/08/addressing/:61:1: error:
> cvc-enumeration-valid: string value 'none' is not a valid enumeration value
> for type of processContents attribute in xs:wildcard
>
>
> I use this command
>
>  wsdl2java.sh -uri wsdl/WS-Trust.wsdl -ss -d xmlbeans -sd -p
> no.plab.hakont.sts -s
>
> and running axis2 1.4.1
>
> Any hits on this, since I 've not done anything else then adding a binding
> and service to the wsdl I dont get what's wrong in this case.
>
> cheers, Håkon
>
> --
> Håkon Sagehaug, Software Developer
> Parallab, Bergen Center for Computational Science (BCCS)
> UNIFOB AS (University of Bergen Research Company)
>
>
>
>
> --
> Håkon Sagehaug, Software Developer
> Parallab, Bergen Center for Computational Science (BCCS)
> UNIFOB AS (University of Bergen Research Company)
>
> ------------------------------
> Windows Live™: E-mail. Chat. Share. Get more ways to connect. Check it
> out.<http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t2_allup_explore_012009>
>



-- 
Håkon Sagehaug, Software Developer
Parallab, Bergen Center for Computational Science (BCCS)
UNIFOB AS (University of Bergen Research Company)

RE: Failed when creating xmlbeans binding from WS-Trust.wsdl

Posted by Martin Gainty <mg...@hotmail.com>.
Appears you have a nill value in a non=nillable element in your XSD
<xsd:element name="Bredsgården" nillable=”false”>
Can you display the WSDL for US?

Takk/
Martin Gainty 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. 




Date: Mon, 26 Jan 2009 14:42:16 +0100
Subject: Re: Failed when creating xmlbeans binding from WS-Trust.wsdl
From: Hakon.Sagehaug@bccs.uib.no
To: axis-dev@ws.apache.org

Hi

I can compile the schema on it's own using xmlbeans, but not when I want to create ws stub classes using the xmlbeans binding.

cheers, Håkon

2009/1/26 Håkon Sagehaug <Ha...@bccs.uib.no>

Hi

I wanted to make a STS service and copied the WS-Trust.wsdl from the ws-trust specification and added binding and service description, but when I want to create an xmlbeans binding I  get this error


Caused by: java.lang.RuntimeException: org.apache.xmlbeans.XmlException: http://schemas.xmlsoap.org/ws/2004/08/addressing/:61:1: error: cvc-enumeration-valid: string value 'none' is not a valid enumeration value for type of processContents attribute in xs:wildcard




I use this command 

 wsdl2java.sh -uri wsdl/WS-Trust.wsdl -ss -d xmlbeans -sd -p no.plab.hakont.sts -s 

and running axis2 1.4.1

Any hits on this, since I 've not done anything else then adding a binding and service to the wsdl I dont get what's wrong in this case.



cheers, Håkon
-- 
Håkon Sagehaug, Software Developer
Parallab, Bergen Center for Computational Science (BCCS)
UNIFOB AS (University of Bergen Research Company)



-- 
Håkon Sagehaug, Software Developer
Parallab, Bergen Center for Computational Science (BCCS)
UNIFOB AS (University of Bergen Research Company)

_________________________________________________________________
Windows Live™: E-mail. Chat. Share. Get more ways to connect. 
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t2_allup_explore_012009

Re: Failed when creating xmlbeans binding from WS-Trust.wsdl

Posted by Håkon Sagehaug <Ha...@bccs.uib.no>.
Hi

I can compile the schema on it's own using xmlbeans, but not when I want to
create ws stub classes using the xmlbeans binding.

cheers, Håkon

2009/1/26 Håkon Sagehaug <Ha...@bccs.uib.no>

> Hi
>
> I wanted to make a STS service and copied the WS-Trust.wsdl from the
> ws-trust specification and added binding and service description, but when I
> want to create an xmlbeans binding I  get this error
>
> Caused by: java.lang.RuntimeException: org.apache.xmlbeans.XmlException:
> http://schemas.xmlsoap.org/ws/2004/08/addressing/:61:1: error:
> cvc-enumeration-valid: string value 'none' is not a valid enumeration value
> for type of processContents attribute in xs:wildcard
>
>
> I use this command
>
>  wsdl2java.sh -uri wsdl/WS-Trust.wsdl -ss -d xmlbeans -sd -p
> no.plab.hakont.sts -s
>
> and running axis2 1.4.1
>
> Any hits on this, since I 've not done anything else then adding a binding
> and service to the wsdl I dont get what's wrong in this case.
>
> cheers, Håkon
>
> --
> Håkon Sagehaug, Software Developer
> Parallab, Bergen Center for Computational Science (BCCS)
> UNIFOB AS (University of Bergen Research Company)
>



-- 
Håkon Sagehaug, Software Developer
Parallab, Bergen Center for Computational Science (BCCS)
UNIFOB AS (University of Bergen Research Company)

Re: Failed when creating xmlbeans binding from WS-Trust.wsdl

Posted by Håkon Sagehaug <Ha...@bccs.uib.no>.
hi

I just had to change the schema to

http://docs.oasis-open.org/ws-sx/ws-trust/200512/ws-trust-1.3.xsd

from before i had

http://schemas.xmlsoap.org/ws/2005/02/trust/ws-trust.xsd

2009/1/27 Håkon Sagehaug <Ha...@bccs.uib.no>

> Hi
>
> any hints on how to solve this, below is the wsdl that I'm trying to
> generate the xmlbeans binding, tried with both axis2 1.3 and 1.4, here is.
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <wsdl:definitions targetNamespace="http://no.plab/hakont/sts"
>     xmlns:tns="http://no.plab/hakont/sts" xmlns:wst="
> http://schemas.xmlsoap.org/ws/2005/02/trust"
>     xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="
> http://www.w3.org/2001/XMLSchema"
>     name="EsysbioStSService" xmlns:soap="
> http://schemas.xmlsoap.org/wsdl/soap/">
>     <!-- this is the WS-I BP-compliant way to import a schema -->
>     <wsdl:types>
>         <xs:schema  xmlns:xs="http://www.w3.org/2001/XMLSchema">
>             <xs:import namespace="
> http://schemas.xmlsoap.org/ws/2005/02/trust"
>                 schemaLocation="ws-trust.xsd" />
>
>         </xs:schema>
>     </wsdl:types>
>
>     <!-- WS-Trust defines the following GEDs -->
>     <wsdl:message name="RequestSecurityTokenMsg">
>         <wsdl:part name="request" element="wst:RequestedSecurityToken" />
>     </wsdl:message>
>     <wsdl:message name="RequestSecurityTokenResponseMsg">
>         <wsdl:part name="response"
> element="wst:RequestSecurityTokenResponse" />
>     </wsdl:message>
>     <wsdl:message name="RequestSecurityTokenResponseCollectionMsg">
>         <wsdl:part name="responseCollection"
> element="wst:RequestSecurityTokenResponseCollection" />
>     </wsdl:message>
>
>     <!--
>         This portType models the full request/response the Security Token
>         Service:
>     -->
>
>     <wsdl:portType name="WSSecurityRequestor">
>         <wsdl:operation name="SecurityTokenResponse">
>             <wsdl:input message="tns:RequestSecurityTokenResponseMsg" />
>         </wsdl:operation>
>         <wsdl:operation name="SecurityTokenResponse2">
>             <wsdl:input
> message="tns:RequestSecurityTokenResponseCollectionMsg" />
>         </wsdl:operation>
>         <wsdl:operation name="Challenge">
>             <wsdl:input message="tns:RequestSecurityTokenResponseMsg" />
>             <wsdl:output message="tns:RequestSecurityTokenResponseMsg" />
>         </wsdl:operation>
>         <wsdl:operation name="Challenge2">
>             <wsdl:input message="tns:RequestSecurityTokenResponseMsg" />
>             <wsdl:output
> message="tns:RequestSecurityTokenResponseCollectionMsg" />
>         </wsdl:operation>
>     </wsdl:portType>
>
>     <!-- These portTypes model the individual message exchanges
> -->
>     <wsdl:portType name="SecurityTokenRequestService">
>         <wsdl:operation name="RequestSecurityToken">
>             <wsdl:input message="tns:RequestSecurityTokenMsg" />
>         </wsdl:operation>
>     </wsdl:portType>
>
>     <wsdl:portType name="SecurityTokenService">
>         <wsdl:operation name="RequestSecurityToken">
>             <wsdl:input message="tns:RequestSecurityTokenMsg" />
>             <wsdl:output message="tns:RequestSecurityTokenResponseMsg"/>
>         </wsdl:operation>
>     </wsdl:portType>
>
>     <wsdl:binding name="STSBinding" type="tns:SecurityTokenService">
>         <soap:binding style="document"
>             transport="http://schemas.xmlsoap.org/soap/http" />
>         <wsdl:operation name="RequestSecurityToken">
>             <soap:operation
>                 soapAction="
> http://schemas.xmlsoap.org/ws/2005/02/trust/wsdl/RequestSecurityToken" />
>             <wsdl:input>
>                 <soap:body use="literal" />
>             </wsdl:input>
>             <wsdl:output>
>                 <soap:body use="literal" />
>             </wsdl:output>
>         </wsdl:operation>
>     </wsdl:binding>
>     <wsdl:service name="EsysbioStSService">
>         <wsdl:port name="EsysbioSTS" binding="tns:STSBinding">
>             <soap:address location="
> http://localhost:8080/axis2/services/STS" />
>         </wsdl:port>
>     </wsdl:service>
> </wsdl:definitions>
>
>
> 2009/1/26 Håkon Sagehaug <Ha...@bccs.uib.no>
>
>
>>
>> ---------- Forwarded message ----------
>> From: Håkon Sagehaug <Ha...@bccs.uib.no>
>> Date: 2009/1/26
>> Subject: Failed when creating xmlbeans binding from WS-Trust.wsdl
>> To: axis-user@ws.apache.org
>>
>>
>> Sent it to the wrong list
>>
>>
>> ---------- Forwarded message ----------
>> From: Håkon Sagehaug <Ha...@bccs.uib.no>
>> Date: 2009/1/26
>> Subject: Failed when creating xmlbeans binding from WS-Trust.wsdl
>> To: axis-dev@ws.apache.org
>>
>>
>> Hi
>>
>> I wanted to make a STS service and copied the WS-Trust.wsdl from the
>> ws-trust specification and added binding and service description, but when I
>> want to create an xmlbeans binding I  get this error
>>
>> Caused by: java.lang.RuntimeException: org.apache.xmlbeans.XmlException:
>> http://schemas.xmlsoap.org/ws/2004/08/addressing/:61:1: error:
>> cvc-enumeration-valid: string value 'none' is not a valid enumeration value
>> for type of processContents attribute in xs:wildcard
>>
>>
>> I use this command
>>
>>  wsdl2java.sh -uri wsdl/WS-Trust.wsdl -ss -d xmlbeans -sd -p
>> no.plab.hakont.sts -s
>>
>> and running axis2 1.4.1
>>
>> Any hits on this, since I 've not done anything else then adding a binding
>> and service to the wsdl I dont get what's wrong in this case.
>>
>> I can compile the schema on it's own using xmlbeans, but not when I want
>> to create ws stub classes using the xmlbeans binding.
>>
>>
>> cheers, Håkon
>>
>> --
>> Håkon Sagehaug, Software Developer
>> Parallab, Bergen Center for Computational Science (BCCS)
>> UNIFOB AS (University of Bergen Research Company)
>>
>>
>>
>> --
>> Håkon Sagehaug, Software Developer
>> Parallab, Bergen Center for Computational Science (BCCS)
>> UNIFOB AS (University of Bergen Research Company)
>>
>>
>>
>> --
>> Håkon Sagehaug, Software Developer
>> Parallab, Bergen Center for Computational Science (BCCS)
>> UNIFOB AS (University of Bergen Research Company)
>>
>
>
>
> --
> Håkon Sagehaug, Software Developer
> Parallab, Bergen Center for Computational Science (BCCS)
> UNIFOB AS (University of Bergen Research Company)
>



-- 
Håkon Sagehaug, Software Developer
Parallab, Bergen Center for Computational Science (BCCS)
UNIFOB AS (University of Bergen Research Company)

Re: Failed when creating xmlbeans binding from WS-Trust.wsdl

Posted by Håkon Sagehaug <Ha...@bccs.uib.no>.
Hi

any hints on how to solve this, below is the wsdl that I'm trying to
generate the xmlbeans binding, tried with both axis2 1.3 and 1.4, here is.

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://no.plab/hakont/sts"
    xmlns:tns="http://no.plab/hakont/sts" xmlns:wst="
http://schemas.xmlsoap.org/ws/2005/02/trust"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="
http://www.w3.org/2001/XMLSchema"
    name="EsysbioStSService" xmlns:soap="
http://schemas.xmlsoap.org/wsdl/soap/">
    <!-- this is the WS-I BP-compliant way to import a schema -->
    <wsdl:types>
        <xs:schema  xmlns:xs="http://www.w3.org/2001/XMLSchema">
            <xs:import namespace="
http://schemas.xmlsoap.org/ws/2005/02/trust"
                schemaLocation="ws-trust.xsd" />

        </xs:schema>
    </wsdl:types>

    <!-- WS-Trust defines the following GEDs -->
    <wsdl:message name="RequestSecurityTokenMsg">
        <wsdl:part name="request" element="wst:RequestedSecurityToken" />
    </wsdl:message>
    <wsdl:message name="RequestSecurityTokenResponseMsg">
        <wsdl:part name="response"
element="wst:RequestSecurityTokenResponse" />
    </wsdl:message>
    <wsdl:message name="RequestSecurityTokenResponseCollectionMsg">
        <wsdl:part name="responseCollection"
element="wst:RequestSecurityTokenResponseCollection" />
    </wsdl:message>

    <!--
        This portType models the full request/response the Security Token
        Service:
    -->

    <wsdl:portType name="WSSecurityRequestor">
        <wsdl:operation name="SecurityTokenResponse">
            <wsdl:input message="tns:RequestSecurityTokenResponseMsg" />
        </wsdl:operation>
        <wsdl:operation name="SecurityTokenResponse2">
            <wsdl:input
message="tns:RequestSecurityTokenResponseCollectionMsg" />
        </wsdl:operation>
        <wsdl:operation name="Challenge">
            <wsdl:input message="tns:RequestSecurityTokenResponseMsg" />
            <wsdl:output message="tns:RequestSecurityTokenResponseMsg" />
        </wsdl:operation>
        <wsdl:operation name="Challenge2">
            <wsdl:input message="tns:RequestSecurityTokenResponseMsg" />
            <wsdl:output
message="tns:RequestSecurityTokenResponseCollectionMsg" />
        </wsdl:operation>
    </wsdl:portType>

    <!-- These portTypes model the individual message exchanges
-->
    <wsdl:portType name="SecurityTokenRequestService">
        <wsdl:operation name="RequestSecurityToken">
            <wsdl:input message="tns:RequestSecurityTokenMsg" />
        </wsdl:operation>
    </wsdl:portType>

    <wsdl:portType name="SecurityTokenService">
        <wsdl:operation name="RequestSecurityToken">
            <wsdl:input message="tns:RequestSecurityTokenMsg" />
            <wsdl:output message="tns:RequestSecurityTokenResponseMsg"/>
        </wsdl:operation>
    </wsdl:portType>

    <wsdl:binding name="STSBinding" type="tns:SecurityTokenService">
        <soap:binding style="document"
            transport="http://schemas.xmlsoap.org/soap/http" />
        <wsdl:operation name="RequestSecurityToken">
            <soap:operation
                soapAction="
http://schemas.xmlsoap.org/ws/2005/02/trust/wsdl/RequestSecurityToken" />
            <wsdl:input>
                <soap:body use="literal" />
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal" />
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="EsysbioStSService">
        <wsdl:port name="EsysbioSTS" binding="tns:STSBinding">
            <soap:address location="http://localhost:8080/axis2/services/STS"
/>
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>


2009/1/26 Håkon Sagehaug <Ha...@bccs.uib.no>

>
>
> ---------- Forwarded message ----------
> From: Håkon Sagehaug <Ha...@bccs.uib.no>
> Date: 2009/1/26
> Subject: Failed when creating xmlbeans binding from WS-Trust.wsdl
> To: axis-user@ws.apache.org
>
>
> Sent it to the wrong list
>
>
> ---------- Forwarded message ----------
> From: Håkon Sagehaug <Ha...@bccs.uib.no>
> Date: 2009/1/26
> Subject: Failed when creating xmlbeans binding from WS-Trust.wsdl
> To: axis-dev@ws.apache.org
>
>
> Hi
>
> I wanted to make a STS service and copied the WS-Trust.wsdl from the
> ws-trust specification and added binding and service description, but when I
> want to create an xmlbeans binding I  get this error
>
> Caused by: java.lang.RuntimeException: org.apache.xmlbeans.XmlException:
> http://schemas.xmlsoap.org/ws/2004/08/addressing/:61:1: error:
> cvc-enumeration-valid: string value 'none' is not a valid enumeration value
> for type of processContents attribute in xs:wildcard
>
>
> I use this command
>
>  wsdl2java.sh -uri wsdl/WS-Trust.wsdl -ss -d xmlbeans -sd -p
> no.plab.hakont.sts -s
>
> and running axis2 1.4.1
>
> Any hits on this, since I 've not done anything else then adding a binding
> and service to the wsdl I dont get what's wrong in this case.
>
> I can compile the schema on it's own using xmlbeans, but not when I want to
> create ws stub classes using the xmlbeans binding.
>
>
> cheers, Håkon
>
> --
> Håkon Sagehaug, Software Developer
> Parallab, Bergen Center for Computational Science (BCCS)
> UNIFOB AS (University of Bergen Research Company)
>
>
>
> --
> Håkon Sagehaug, Software Developer
> Parallab, Bergen Center for Computational Science (BCCS)
> UNIFOB AS (University of Bergen Research Company)
>
>
>
> --
> Håkon Sagehaug, Software Developer
> Parallab, Bergen Center for Computational Science (BCCS)
> UNIFOB AS (University of Bergen Research Company)
>



-- 
Håkon Sagehaug, Software Developer
Parallab, Bergen Center for Computational Science (BCCS)
UNIFOB AS (University of Bergen Research Company)

Fwd: Failed when creating xmlbeans binding from WS-Trust.wsdl

Posted by Håkon Sagehaug <Ha...@bccs.uib.no>.
---------- Forwarded message ----------
From: Håkon Sagehaug <Ha...@bccs.uib.no>
Date: 2009/1/26
Subject: Failed when creating xmlbeans binding from WS-Trust.wsdl
To: axis-user@ws.apache.org


Sent it to the wrong list


---------- Forwarded message ----------
From: Håkon Sagehaug <Ha...@bccs.uib.no>
Date: 2009/1/26
Subject: Failed when creating xmlbeans binding from WS-Trust.wsdl
To: axis-dev@ws.apache.org


Hi

I wanted to make a STS service and copied the WS-Trust.wsdl from the
ws-trust specification and added binding and service description, but when I
want to create an xmlbeans binding I  get this error

Caused by: java.lang.RuntimeException: org.apache.xmlbeans.XmlException:
http://schemas.xmlsoap.org/ws/2004/08/addressing/:61:1: error:
cvc-enumeration-valid: string value 'none' is not a valid enumeration value
for type of processContents attribute in xs:wildcard


I use this command

 wsdl2java.sh -uri wsdl/WS-Trust.wsdl -ss -d xmlbeans -sd -p
no.plab.hakont.sts -s

and running axis2 1.4.1

Any hits on this, since I 've not done anything else then adding a binding
and service to the wsdl I dont get what's wrong in this case.

I can compile the schema on it's own using xmlbeans, but not when I want to
create ws stub classes using the xmlbeans binding.


cheers, Håkon

-- 
Håkon Sagehaug, Software Developer
Parallab, Bergen Center for Computational Science (BCCS)
UNIFOB AS (University of Bergen Research Company)



-- 
Håkon Sagehaug, Software Developer
Parallab, Bergen Center for Computational Science (BCCS)
UNIFOB AS (University of Bergen Research Company)



-- 
Håkon Sagehaug, Software Developer
Parallab, Bergen Center for Computational Science (BCCS)
UNIFOB AS (University of Bergen Research Company)