is it alright if I copy my wsdl here?

Seems the schema is valid:

-------------------------------------------------------------------------------------------------------------------
Schema validating with XSV 2.10-1 of 2005/04/22 13:10:49

   * Target: http://server.com/services/SapidSetting.asmx?WSDL
        (Real name: http://server.com/services/SapidSetting.asmx?WSDL
         Length: 4483 bytes

         Server: Microsoft-IIS/6.0)
   * docElt: {http://schemas.xmlsoap.org/wsdl/}definitions
   * Validation was strict, starting with type
{http://schemas.xmlsoap.org/wsdl/}:tDefinitions
   * The schema(s) used for schema-validation had
       no errors
   * No schema-validity problems were found in the target
-------------------------------------------------------------------------------------------------------------------


and here is the schema:

-------------------------------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/";
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:s="http://www.w3.org/2001/XMLSchema";
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:tns="https://y.mirago.com/Services/SapIdSetting";
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/";
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/";
targetNamespace="https://y.mirago.com/Services/SapIdSetting";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";>
 <wsdl:types>
   <s:schema elementFormDefault="qualified"
targetNamespace="https://y.mirago.com/Services/SapIdSetting";>
     <s:element name="UpdateSapId">
       <s:complexType>
         <s:sequence>
           <s:element minOccurs="1" maxOccurs="1" name="Input"
type="tns:SetSapIdRequest" />
         </s:sequence>
       </s:complexType>

     </s:element>
     <s:complexType name="SetSapIdRequest">
       <s:sequence>
         <s:element minOccurs="0" maxOccurs="1" form="unqualified"
name="username" type="s:string" />
         <s:element minOccurs="0" maxOccurs="1" form="unqualified"
name="SapId" type="s:string" />
       </s:sequence>
     </s:complexType>
     <s:element name="UpdateSapIdResponse">
       <s:complexType>

         <s:sequence>
           <s:element minOccurs="1" maxOccurs="1"
name="UpdateSapIdResult" type="tns:simpleSuccessResponse" />
         </s:sequence>
       </s:complexType>
     </s:element>
     <s:complexType name="simpleSuccessResponse">
       <s:sequence>
         <s:choice minOccurs="1" maxOccurs="1">
           <s:element minOccurs="0" maxOccurs="1"
name="simpleSuccessResponse" />

           <s:element minOccurs="1" maxOccurs="1" form="unqualified"
name="success" type="s:boolean" />
           <s:element minOccurs="1" maxOccurs="1" form="unqualified"
name="error" type="tns:errorResponseType" />
         </s:choice>
       </s:sequence>
     </s:complexType>
     <s:complexType name="errorResponseType">
       <s:sequence>
         <s:element minOccurs="0" maxOccurs="1" form="unqualified"
name="code" type="s:string" />
         <s:element minOccurs="0" maxOccurs="1" form="unqualified"
name="description" type="s:string" />

         <s:element minOccurs="0" maxOccurs="1" form="unqualified"
name="message" type="s:string" />
       </s:sequence>
     </s:complexType>
     <s:element name="authentication" type="tns:authentication" />
     <s:complexType name="authentication">
       <s:sequence>
         <s:element minOccurs="0" maxOccurs="1" form="unqualified"
name="userName" type="s:string" />
         <s:element minOccurs="1" maxOccurs="1" form="unqualified"
name="Password" nillable="true" type="s:string" />
       </s:sequence>

     </s:complexType>
   </s:schema>
 </wsdl:types>
 <wsdl:message name="UpdateSapIdSoapIn">
   <wsdl:part name="parameters" element="tns:UpdateSapId" />
 </wsdl:message>
 <wsdl:message name="UpdateSapIdSoapOut">
   <wsdl:part name="parameters" element="tns:UpdateSapIdResponse" />
 </wsdl:message>

 <wsdl:message name="UpdateSapIdauthentication">
   <wsdl:part name="authentication" element="tns:authentication" />
 </wsdl:message>
 <wsdl:portType name="SapIdSettingSoap">
   <wsdl:operation name="UpdateSapId">
     <wsdl:input message="tns:UpdateSapIdSoapIn" />
     <wsdl:output message="tns:UpdateSapIdSoapOut" />
   </wsdl:operation>
 </wsdl:portType>

 <wsdl:binding name="SapIdSettingSoap" type="tns:SapIdSettingSoap">
   <soap:binding transport="http://schemas.xmlsoap.org/soap/http";
style="document" />
   <wsdl:operation name="UpdateSapId">
     <soap:operation
soapAction="https://y.mirago.com/Services/SapIdSetting/UpdateSapId";
style="document" />
     <wsdl:input>
       <soap:body use="literal" />
       <soap:header message="tns:UpdateSapIdauthentication"
part="authentication" use="literal" />
     </wsdl:input>
     <wsdl:output>

       <soap:body use="literal" />
       <soap:header message="tns:UpdateSapIdauthentication"
part="authentication" use="literal" />
     </wsdl:output>
   </wsdl:operation>
 </wsdl:binding>
 <wsdl:service name="SapIdSetting">
   <wsdl:port name="SapIdSettingSoap" binding="tns:SapIdSettingSoap">
     <soap:address
location="http://keywords.yelldirect.com/services/SapidSetting.asmx";
/>
   </wsdl:port>

 </wsdl:service>
</wsdl:definitions>
-------------------------------------------------------------------------------------------------------------------


thanks a lot for your help
Emerson

On 17/01/07, Ajith Ranabahu <[EMAIL PROTECTED]> wrote:
Hi,
The best thing to do would be to open a Jira and attach your
schema/WSDL. It would be also a good idea to validate the WSDL/Schema
(probably something like the XSV in W3C or the cape clear WSDL editor)
It could be that your schema containing an unsupported schema
constructs for ADB [It should throw an error in that case anyway] so
you may also try XMLBeans as a databinding.

Ajith

On 1/17/07, emerson cargnin <[EMAIL PROTECTED]> wrote:
> I just generated the stub using axis2 1.1.1
>
> In some classes generated, im getting the error "The field parentQName
> is defined in an inherited type and an enclosing scope". I used the
> option u (Unpacks the databinding classes), the error is on these
> classes.The error is always on any code that refers to "parentQName"
> field.
>
> Thanks very much
> Emerson
>
> example of the code generated:
>
>    public org.apache.axiom.om.OMDataSource getOMDataSource(
>             final javax.xml.namespace.QName parentQName,
>             final org.apache.axiom.om.OMFactory factory){
>
>
>         org.apache.axiom.om.OMDataSource dataSource =
>                        new
> org.apache.axis2.databinding.ADBDataSource(this,parentQName){
>
>          public void serialize(
>                                   javax.xml.stream.XMLStreamWriter
> xmlWriter) throws javax.xml.stream.XMLStreamException {
>
>
>
>                 java.lang.String prefix = parentQName.getPrefix();
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Ajith Ranabahu

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to