facebook

Error generating service

  1. MyEclipse Archived
  2.  > 
  3. Web Services
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #270223 Reply

    Team,
    I went through lot of conversation on this topic. I have made sure:
    1. The WSDL is error free
    2. The HTTP 1.2 libraries are included
    3. The appserver is up and running and the wsdl is accesible

    I still cannot generate the client with MyEclipse 5.5M2. Please help
    Here is my WSDL

    <?xml version=”1.0″ encoding=”UTF-8″ ?>
    – <wsdl:definitions targetNamespace=”http://documentum.com/ws/2005/framework&#8221; xmlns:apachesoap=”http://xml.apache.org/xml-soap&#8221; xmlns:impl=”http://documentum.com/ws/2005/framework&#8221; xmlns:intf=”http://documentum.com/ws/2005/framework&#8221; xmlns:wsdl=”http://schemas.xmlsoap.org/wsdl/&#8221; xmlns:wsdlsoap=”http://schemas.xmlsoap.org/wsdl/soap/&#8221; xmlns:xsd=”http://www.w3.org/2001/XMLSchema”&gt;
    – <!–
    WSDL created by Apache Axis version: 1.2RC3 Built on Aug 24,
    2005 (03:08:13 PDT)

    –>
    – <wsdl:types>
    – <schema elementFormDefault=”qualified” targetNamespace=”http://documentum.com/ws/2005/framework&#8221; xmlns=”http://www.w3.org/2001/XMLSchema”&gt;
    – <element name=”newCredentials”>
    – <complexType>
    – <sequence>
    <element minOccurs=”0″ name=”in0″ nillable=”true” type=”impl:DocbaseCredentialsInfo” />
    <element name=”in1″ type=”xsd:boolean” />
    </sequence>
    </complexType>
    </element>
    – <complexType name=”DocbaseCredentialsInfo”>
    – <sequence>
    <element minOccurs=”0″ name=”docbaseName” nillable=”true” type=”xsd:string” />
    <element minOccurs=”0″ name=”domain” nillable=”true” type=”xsd:string” />
    <element minOccurs=”0″ name=”password” nillable=”true” type=”xsd:string” />
    <element minOccurs=”0″ name=”user” nillable=”true” type=”xsd:string” />
    </sequence>
    </complexType>
    – <element name=”newCredentialsResponse”>
    – <complexType>
    – <sequence>
    <element minOccurs=”0″ name=”newCredentialsReturn” nillable=”true” type=”xsd:string” />
    </sequence>
    </complexType>
    </element>
    – <complexType name=”WebServiceException”>
    – <sequence>
    <element minOccurs=”0″ name=”message” nillable=”true” type=”xsd:string” />
    </sequence>
    </complexType>
    – <complexType name=”DocbaseAuthenticationFailure”>
    – <complexContent>
    – <extension base=”impl:WebServiceException”>
    <sequence />
    </extension>
    </complexContent>
    </complexType>
    <element name=”fault” type=”impl:DocbaseAuthenticationFailure” />
    – <element name=”newMultipleCredentials”>
    – <complexType>
    – <sequence>
    <element maxOccurs=”unbounded” minOccurs=”0″ name=”in0″ nillable=”true” type=”impl:DocbaseCredentialsInfo” />
    <element name=”in1″ type=”xsd:boolean” />
    </sequence>
    </complexType>
    </element>
    – <element name=”newMultipleCredentialsResponse”>
    – <complexType>
    – <sequence>
    <element minOccurs=”0″ name=”newMultipleCredentialsReturn” nillable=”true” type=”xsd:string” />
    </sequence>
    </complexType>
    </element>
    – <element name=”addCredentials”>
    – <complexType>
    – <sequence>
    <element minOccurs=”0″ name=”in0″ nillable=”true” type=”xsd:string” />
    <element minOccurs=”0″ name=”in1″ nillable=”true” type=”impl:DocbaseCredentialsInfo” />
    <element name=”in2″ type=”xsd:boolean” />
    </sequence>
    </complexType>
    </element>
    – <element name=”addCredentialsResponse”>
    – <complexType>
    – <sequence>
    <element minOccurs=”0″ name=”addCredentialsReturn” nillable=”true” type=”xsd:string” />
    </sequence>
    </complexType>
    </element>
    – <element name=”addMultipleCredentials”>
    – <complexType>
    – <sequence>
    <element minOccurs=”0″ name=”in0″ nillable=”true” type=”xsd:string” />
    <element maxOccurs=”unbounded” minOccurs=”0″ name=”in1″ nillable=”true” type=”impl:DocbaseCredentialsInfo” />
    <element name=”in2″ type=”xsd:boolean” />
    </sequence>
    </complexType>
    </element>
    – <element name=”addMultipleCredentialsResponse”>
    – <complexType>
    – <sequence>
    <element minOccurs=”0″ name=”addMultipleCredentialsReturn” nillable=”true” type=”xsd:string” />
    </sequence>
    </complexType>
    </element>
    – <element name=”authenticate”>
    – <complexType>
    – <sequence>
    <element minOccurs=”0″ name=”in0″ nillable=”true” type=”xsd:string” />
    <element minOccurs=”0″ name=”in1″ nillable=”true” type=”xsd:string” />
    </sequence>
    </complexType>
    </element>
    – <element name=”authenticateResponse”>
    <complexType />
    </element>
    – <element name=”DocumentumSecurityToken”>
    – <complexType>
    – <sequence>
    <element name=”token” type=”xsd:string” />
    </sequence>
    </complexType>
    </element>
    – <element name=”UcfSession”>
    – <complexType>
    – <sequence>
    <element name=”uid” type=”xsd:string” />
    </sequence>
    </complexType>
    </element>
    </schema>
    </wsdl:types>
    – <wsdl:message name=”SecurityRequestHeader”>
    <wsdl:part element=”impl:DocumentumSecurityToken” name=”DocumentumRequestHeader” />
    </wsdl:message>
    – <wsdl:message name=”UcfRequestHeader”>
    <wsdl:part element=”impl:UcfSession” name=”DocumentumUcfRequestHeader” />
    </wsdl:message>
    – <wsdl:message name=”addMultipleCredentialsRequest”>
    <wsdl:part element=”impl:addMultipleCredentials” name=”parameters” />
    </wsdl:message>
    – <wsdl:message name=”newMultipleCredentialsResponse”>
    <wsdl:part element=”impl:newMultipleCredentialsResponse” name=”parameters” />
    </wsdl:message>
    – <wsdl:message name=”newMultipleCredentialsRequest”>
    <wsdl:part element=”impl:newMultipleCredentials” name=”parameters” />
    </wsdl:message>
    – <wsdl:message name=”addMultipleCredentialsResponse”>
    <wsdl:part element=”impl:addMultipleCredentialsResponse” name=”parameters” />
    </wsdl:message>
    – <wsdl:message name=”addCredentialsRequest”>
    <wsdl:part element=”impl:addCredentials” name=”parameters” />
    </wsdl:message>
    – <wsdl:message name=”addCredentialsResponse”>
    <wsdl:part element=”impl:addCredentialsResponse” name=”parameters” />
    </wsdl:message>
    – <wsdl:message name=”DocbaseAuthenticationFailure”>
    <wsdl:part element=”impl:fault” name=”fault” />
    </wsdl:message>
    – <wsdl:message name=”authenticateResponse”>
    <wsdl:part element=”impl:authenticateResponse” name=”parameters” />
    </wsdl:message>
    – <wsdl:message name=”authenticateRequest”>
    <wsdl:part element=”impl:authenticate” name=”parameters” />
    </wsdl:message>
    – <wsdl:message name=”newCredentialsResponse”>
    <wsdl:part element=”impl:newCredentialsResponse” name=”parameters” />
    </wsdl:message>
    – <wsdl:message name=”newCredentialsRequest”>
    <wsdl:part element=”impl:newCredentials” name=”parameters” />
    </wsdl:message>
    – <wsdl:portType name=”DocbaseCredentials”>
    – <wsdl:operation name=”newCredentials”>
    <wsdl:input message=”impl:newCredentialsRequest” name=”newCredentialsRequest” />
    <wsdl:output message=”impl:newCredentialsResponse” name=”newCredentialsResponse” />
    <wsdl:fault message=”impl:DocbaseAuthenticationFailure” name=”DocbaseAuthenticationFailure” />
    </wsdl:operation>
    – <wsdl:operation name=”newMultipleCredentials”>
    <wsdl:input message=”impl:newMultipleCredentialsRequest” name=”newMultipleCredentialsRequest” />
    <wsdl:output message=”impl:newMultipleCredentialsResponse” name=”newMultipleCredentialsResponse” />
    <wsdl:fault message=”impl:DocbaseAuthenticationFailure” name=”DocbaseAuthenticationFailure” />
    </wsdl:operation>
    – <wsdl:operation name=”addCredentials”>
    <wsdl:input message=”impl:addCredentialsRequest” name=”addCredentialsRequest” />
    <wsdl:output message=”impl:addCredentialsResponse” name=”addCredentialsResponse” />
    <wsdl:fault message=”impl:DocbaseAuthenticationFailure” name=”DocbaseAuthenticationFailure” />
    </wsdl:operation>
    – <wsdl:operation name=”addMultipleCredentials”>
    <wsdl:input message=”impl:addMultipleCredentialsRequest” name=”addMultipleCredentialsRequest” />
    <wsdl:output message=”impl:addMultipleCredentialsResponse” name=”addMultipleCredentialsResponse” />
    <wsdl:fault message=”impl:DocbaseAuthenticationFailure” name=”DocbaseAuthenticationFailure” />
    </wsdl:operation>
    – <wsdl:operation name=”authenticate”>
    <wsdl:input message=”impl:authenticateRequest” name=”authenticateRequest” />
    <wsdl:output message=”impl:authenticateResponse” name=”authenticateResponse” />
    <wsdl:fault message=”impl:authenticateResponse” name=”DocbaseAuthenticationFailure” />
    </wsdl:operation>
    </wsdl:portType>
    – <wsdl:binding name=”DocbaseCredentialsSoapBinding” type=”impl:DocbaseCredentials”>
    <wsdlsoap:binding style=”document” transport=”http://schemas.xmlsoap.org/soap/http&#8221; />
    – <wsdl:operation name=”newCredentials”>
    <wsdlsoap:operation soapAction=”” />
    – <wsdl:input name=”newCredentialsRequest”>
    <wsdlsoap:body use=”literal” />
    <wsdlsoap:header message=”impl:SecurityRequestHeader” namespace=”http://documentum.com/ws/2005/framework&#8221; part=”DocumentumRequestHeader” use=”literal” />
    </wsdl:input>
    – <wsdl:output name=”newCredentialsResponse”>
    <wsdlsoap:body use=”literal” />
    </wsdl:output>
    – <wsdl:fault name=”DocbaseAuthenticationFailure”>
    <wsdlsoap:fault name=”DocbaseAuthenticationFailure” use=”literal” />
    </wsdl:fault>
    </wsdl:operation>
    – <wsdl:operation name=”newMultipleCredentials”>
    <wsdlsoap:operation soapAction=”” />
    – <wsdl:input name=”newMultipleCredentialsRequest”>
    <wsdlsoap:body use=”literal” />
    <wsdlsoap:header message=”impl:SecurityRequestHeader” namespace=”http://documentum.com/ws/2005/framework&#8221; part=”DocumentumRequestHeader” use=”literal” />
    </wsdl:input>
    – <wsdl:output name=”newMultipleCredentialsResponse”>
    <wsdlsoap:body use=”literal” />
    </wsdl:output>
    – <wsdl:fault name=”DocbaseAuthenticationFailure”>
    <wsdlsoap:fault name=”DocbaseAuthenticationFailure” use=”literal” />
    </wsdl:fault>
    </wsdl:operation>
    – <wsdl:operation name=”addCredentials”>
    <wsdlsoap:operation soapAction=”” />
    – <wsdl:input name=”addCredentialsRequest”>
    <wsdlsoap:body use=”literal” />
    <wsdlsoap:header message=”impl:SecurityRequestHeader” namespace=”http://documentum.com/ws/2005/framework&#8221; part=”DocumentumRequestHeader” use=”literal” />
    </wsdl:input>
    – <wsdl:output name=”addCredentialsResponse”>
    <wsdlsoap:body use=”literal” />
    </wsdl:output>
    – <wsdl:fault name=”DocbaseAuthenticationFailure”>
    <wsdlsoap:fault name=”DocbaseAuthenticationFailure” use=”literal” />
    </wsdl:fault>
    </wsdl:operation>
    – <wsdl:operation name=”addMultipleCredentials”>
    <wsdlsoap:operation soapAction=”” />
    – <wsdl:input name=”addMultipleCredentialsRequest”>
    <wsdlsoap:body use=”literal” />
    <wsdlsoap:header message=”impl:SecurityRequestHeader” namespace=”http://documentum.com/ws/2005/framework&#8221; part=”DocumentumRequestHeader” use=”literal” />
    </wsdl:input>
    – <wsdl:output name=”addMultipleCredentialsResponse”>
    <wsdlsoap:body use=”literal” />
    </wsdl:output>
    – <wsdl:fault name=”DocbaseAuthenticationFailure”>
    <wsdlsoap:fault name=”DocbaseAuthenticationFailure” use=”literal” />
    </wsdl:fault>
    </wsdl:operation>
    – <wsdl:operation name=”authenticate”>
    <wsdlsoap:operation soapAction=”” />
    – <wsdl:input name=”authenticateRequest”>
    <wsdlsoap:body use=”literal” />
    <wsdlsoap:header message=”impl:SecurityRequestHeader” namespace=”http://documentum.com/ws/2005/framework&#8221; part=”DocumentumRequestHeader” use=”literal” />
    </wsdl:input>
    – <wsdl:output name=”authenticateResponse”>
    <wsdlsoap:body use=”literal” />
    </wsdl:output>
    – <wsdl:fault name=”DocbaseAuthenticationFailure”>
    <wsdlsoap:fault name=”DocbaseAuthenticationFailure” use=”literal” />
    </wsdl:fault>
    </wsdl:operation>
    </wsdl:binding>
    – <wsdl:service name=”DocbaseCredentialsService”>
    – <wsdl:port binding=”impl:DocbaseCredentialsSoapBinding” name=”DocbaseCredentials”>
    <wsdlsoap:address location=”http://vibhi.web.fedex.com:7001/ws/services/DocbaseCredentials&#8221; />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>

    #270236 Reply

    Riyad Kalla
    Member

    vibhi,
    If you take the WSDL you posted above, and paste it into a new WSDL file in MyEclipse and open it, you’ll notice it’s far from valid. There are many validation problems with this WSDL. For starters are the invalid “-” characters at the top of the file. Removing those unveil almost 10 more validation errors with the rest of the file.

    #270267 Reply

    Thanks for your reply Riyad.
    So I tried to run the TerraWSClient example from the myeclipse tutorial and I get the same “Error generating Service” message in MyEclipse 5.1
    The tutorial is at: http://www.myeclipseide.com/images/tutorials/demos/terra_server_client/tutorial.html
    and the WSDL there should be error free. I have run this example long back without errors.
    I think something in MYEclipse IDE is not working. I cant figure out what.
    Can u help
    Thanks
    Vibhi

    #270269 Reply

    Riyad Kalla
    Member

    Vibhi,
    Just to rule out possible installation problems, can you download the new 5.5 GA release we just made, using the “All In One” installer. and then install 5.5 GA to a brand new location, and start it up and open your existing workspace and try the tutorial again?

    #270662 Reply

    Hello Riyad,
    Frustation is building up. I tried the new instal. Now I went back to see if I can generate any other webservice client and ran the online TerraService cleint example from myeclipse samples. The WSDL URL is http://terraserver.microsoft.com/TerraService2.asmx?WSDL. And myeclipse says it cannot read the WSDL.
    Please help
    Thx
    Vibhi

    #270675 Reply

    Riyad Kalla
    Member

    Vibhi,
    I just tried this and there seems to be a validation problem… I’m looking into it right now, sorry for the trouble.

    #270967 Reply

    Hello Riyad,
    Any progress on this one. Please advice on how to use myeclipse to generate webserive clients. Can I bypass the validation of wsdl ?
    Thx
    Vibhi

    #270971 Reply

    Riyad Kalla
    Member

    Vibhi,
    No workaround yet. I send off the file to our WS team to test and look into. I’m sorry for the delay.

    #274025 Reply

    inertia
    Member

    I’m still having problems validating:

    http://terraserver.microsoft.com/TerraService2.asmx?WSDL.

    I’m testing it in 6.0.0 M1. Will this ever work?

    #274060 Reply

    Riyad Kalla
    Member

    inertia,
    This is still on our TODO list, although you can still hit “Next” to generate the client even though the validation throws up a warning.

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: Error generating service

You must be logged in to post in the forum log in