facebook

Error while running new WebService wizard

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. WebSphere Development
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #281689 Reply

    dimaguz
    Member

    I get the following error when I click on the “Finish” button on the new WebService wizard. Any idea what it complains about?

    The following errors occurred while running WSDL2Java. Generation aborted.
    WSWS3185I: Info: Parsing XML file: C:\workspace\EclipseBlue_WebService\WebRoot\WEB-INF\wsdl\HelloService.wsdl
    Retrieving document at ‘file:/C:/workspace/EclipseBlue_WebService/WebRoot/WEB-INF/wsdl/HelloService.wsdl’.
    ———————–
    Symbol Table |
    ———————–
    SIDX: 1
    QName: {http://websphere.ibm.com/webservices/}SOAPElement
    Class: com.ibm.ws.webservices.wsdl.symbolTable.DefinedType
    name: javax.xml.soap.SOAPElement
    dynamicVars: derivedTypes = [ ]
    disable generation = true
    nestedTypes = [ (<recursive> 1) ]
    isReferenced? false
    refTypeSIDX: 0
    Undefined?: false
    isBaseType true
    Node: null
    NodeStack: null
    Dims:
    isAbstract false
    OnlyWrappedLitRef false
    SimpleType? false
    isList? false
    Enumeration? false
    isAnonType? false
    Children null
    ======================================================================================
    SIDX: 2
    QName: {http://xml.apache.org/xml-soap}Element
    Class: com.ibm.ws.webservices.wsdl.symbolTable.DefinedType
    name: org.w3c.dom.Element
    dynamicVars: derivedTypes = [ ]
    disable generation = true
    nestedTypes = [ (<recursive> 2) ]
    isReferenced? false
    refTypeSIDX: 0
    Undefined?: false
    isBaseType true
    Node: null
    NodeStack: null
    Dims:
    isAbstract false
    OnlyWrappedLitRef false
    SimpleType? false
    isList? false
    Enumeration? false
    isAnonType? false
    Children null
    ======================================================================================
    SIDX: 3
    QName: {http://aa.com/services/xml/HelloService}>RequestDTO
    Class: com.ibm.ws.webservices.wsdl.symbolTable.DefinedType
    name: com.aa.RequestDTO
    dynamicVars: derivedTypes = [ ]
    resolvedChildNames = true
    nestedTypes = [ (5) (<recursive> 3) (6) ]
    isReferenced? true
    refTypeSIDX: 0
    Undefined?: false
    isBaseType false
    Node:
    [complexType: null]
    NodeStack: []
    Dims:
    isAbstract false
    OnlyWrappedLitRef false
    SimpleType? false
    isList? false
    Enumeration? false
    isAnonType? true
    Children [ (1c) (2c) (3c) ]
    ======================================================================================
    SIDX: 4
    QName: {http://aa.com/services/xml/HelloService}RequestDTO
    Class: com.ibm.ws.webservices.wsdl.symbolTable.DefinedElement
    name: com.aa.RequestDTO
    dynamicVars: disable generation = true
    isReferenced? true
    refTypeSIDX: 3
    Undefined?: false
    isBaseType false
    Node:
    [element: null]
    NodeStack: []
    Dims:
    isAbstract false
    OnlyWrappedLitRef false
    ======================================================================================
    SIDX: 5
    QName: {http://www.w3.org/2001/XMLSchema}string
    Class: com.ibm.ws.webservices.wsdl.symbolTable.DefinedType
    name: java.lang.String
    dynamicVars: derivedTypes = [ ]
    disable generation = true
    nestedTypes = [ (<recursive> 5) ]
    isReferenced? true
    refTypeSIDX: 0
    Undefined?: false
    isBaseType true
    Node: null
    NodeStack: null
    Dims:
    isAbstract false
    OnlyWrappedLitRef false
    SimpleType? true
    isList? false
    Enumeration? false
    isAnonType? false
    Children null
    ======================================================================================
    SIDX: 6
    QName: {http://www.w3.org/2001/XMLSchema}int
    Class: com.ibm.ws.webservices.wsdl.symbolTable.DefinedType
    name: int
    dynamicVars: derivedTypes = [ ]
    disable generation = true
    nestedTypes = [ (<recursive> 6) ]
    isReferenced? true
    refTypeSIDX: 0
    Undefined?: false
    isBaseType true
    Node: null
    NodeStack: null
    Dims:
    isAbstract false
    OnlyWrappedLitRef false
    SimpleType? true
    isList? false
    Enumeration? false
    isAnonType? false
    Children null
    ======================================================================================
    SIDX: 7
    QName: {http://aa.com/services/xml/HelloService}>ResponseDTO
    Class: com.ibm.ws.webservices.wsdl.symbolTable.DefinedType
    name: com.aa.ResponseDTO
    dynamicVars: derivedTypes = [ ]
    resolvedChildNames = true
    nestedTypes = [ (5) (<recursive> 7) (6) ]
    isReferenced? true
    refTypeSIDX: 0
    Undefined?: false
    isBaseType false
    Node:
    [complexType: null]
    NodeStack: []
    Dims:
    isAbstract false
    OnlyWrappedLitRef false
    SimpleType? false
    isList? false
    Enumeration? false
    isAnonType? true
    Children [ (4c) (5c) (6c) ]
    ======================================================================================
    SIDX: 8
    QName: {http://aa.com/services/xml/HelloService}ResponseDTO
    Class: com.ibm.ws.webservices.wsdl.symbolTable.DefinedElement
    name: com.aa.ResponseDTO
    dynamicVars: disable generation = true
    isReferenced? true
    refTypeSIDX: 7
    Undefined?: false
    isBaseType false
    Node:
    [element: null]
    NodeStack: []
    Dims:
    isAbstract false
    OnlyWrappedLitRef false
    ======================================================================================
    SIDX: 9
    QName: {http://aa.com/services/xml/HelloService}sayHelloResponse
    Class: com.ibm.ws.webservices.wsdl.symbolTable.MessageEntry
    name: null
    isReferenced? true
    isFault? false
    ======================================================================================
    SIDX: 10
    QName: {http://aa.com/services/xml/HelloService}sayHelloRequest
    Class: com.ibm.ws.webservices.wsdl.symbolTable.MessageEntry
    name: null
    isReferenced? true
    isFault? false
    ======================================================================================
    SIDX: 11
    QName: {http://aa.com/services/xml/HelloService}HelloServicePortType
    Class: com.ibm.ws.webservices.wsdl.symbolTable.PortTypeEntry
    name:
    dynamicVars: implName = com.aa.HelloServiceSoapBindingImpl
    isReferenced? true
    ======================================================================================
    SIDX: 12
    QName: {http://aa.com/services/xml/HelloService}HelloServiceSoapBinding
    Class: com.ibm.ws.webservices.wsdl.symbolTable.BindingEntry
    name: com.aa.HelloServiceSoapBinding
    dynamicVars: interface name = com.aa.HelloServicePortType
    isReferenced? true
    ======================================================================================
    SIDX: 13
    QName: {http://aa.com/services/xml/HelloService}HelloService
    Class: com.ibm.ws.webservices.wsdl.symbolTable.ServiceEntry
    name: com.aa.HelloService
    isReferenced? true
    ======================================================================================
    1c —
    QName: {http://aa.com/services/xml/HelloService}name
    Class: com.ibm.ws.webservices.wsdl.symbolTable.ChildElement
    name: name
    dynamicVars: javaType = java.lang.String
    2c —
    QName: {http://aa.com/services/xml/HelloService}yearOfBirth
    Class: com.ibm.ws.webservices.wsdl.symbolTable.ChildElement
    name: yearOfBirth
    dynamicVars: javaType = int
    3c —
    QName: {http://aa.com/services/xml/HelloService}phone
    Class: com.ibm.ws.webservices.wsdl.symbolTable.ChildElement
    name: phone
    dynamicVars: javaType = java.lang.String
    4c —
    QName: {http://aa.com/services/xml/HelloService}age
    Class: com.ibm.ws.webservices.wsdl.symbolTable.ChildElement
    name: age
    dynamicVars: javaType = int
    5c —
    QName: {http://aa.com/services/xml/HelloService}greeting
    Class: com.ibm.ws.webservices.wsdl.symbolTable.ChildElement
    name: greeting
    dynamicVars: javaType = java.lang.String
    6c —
    QName: {http://aa.com/services/xml/HelloService}phone
    Class: com.ibm.ws.webservices.wsdl.symbolTable.ChildElement
    name: phone
    dynamicVars: javaType = java.lang.String
    ======================================================================================
    ———————–
    WSWS3282I: Info: Generating C:\workspace\EclipseBlue_WebService\.myeclipse\wsgeneration\wso0\com\aa\RequestDTO.java.
    WSWS3282I: Info: Generating C:\workspace\EclipseBlue_WebService\.myeclipse\wsgeneration\wso0\com\aa\RequestDTO_Helper.java.
    WSWS3282I: Info: Generating C:\workspace\EclipseBlue_WebService\.myeclipse\wsgeneration\wso0\com\aa\RequestDTO_Ser.java.
    WSWS3282I: Info: Generating C:\workspace\EclipseBlue_WebService\.myeclipse\wsgeneration\wso0\com\aa\RequestDTO_Deser.java.
    WSWS3282I: Info: Generating C:\workspace\EclipseBlue_WebService\.myeclipse\wsgeneration\wso0\com\aa\ResponseDTO.java.
    WSWS3282I: Info: Generating C:\workspace\EclipseBlue_WebService\.myeclipse\wsgeneration\wso0\com\aa\ResponseDTO_Helper.java.
    WSWS3282I: Info: Generating C:\workspace\EclipseBlue_WebService\.myeclipse\wsgeneration\wso0\com\aa\ResponseDTO_Ser.java.
    WSWS3282I: Info: Generating C:\workspace\EclipseBlue_WebService\.myeclipse\wsgeneration\wso0\com\aa\ResponseDTO_Deser.java.
    WSWS3282I: Info: Generating C:\workspace\EclipseBlue_WebService\.myeclipse\wsgeneration\wso0\com\aa\HelloServicePortType.java.
    WSWS3282I: Info: Generating C:\workspace\EclipseBlue_WebService\.myeclipse\wsgeneration\wso0\com\aa\HelloServiceSoapBindingImpl.java.
    WSWS3282I: Info: Generating C:\workspace\EclipseBlue_WebService\.myeclipse\wsgeneration\wso0\WEB-INF\webservices.xml.
    WSWS3282I: Info: Generating C:\workspace\EclipseBlue_WebService\.myeclipse\wsgeneration\wso0\WEB-INF\ibm-webservices-bnd.xmi.
    WSWS3282I: Info: Generating C:\workspace\EclipseBlue_WebService\.myeclipse\wsgeneration\wso0\WEB-INF\ibm-webservices-ext.xmi.
    WSWS3282I: Info: Generating C:\workspace\EclipseBlue_WebService\.myeclipse\wsgeneration\wso0\WEB-INF\HelloService_mapping.xml.

    #281728

    Brian Fernandes
    Moderator

    dimaguz,

    From this output I’m assuming you are running WAS 6.1. I ran a few tests against it and there does not seem to be any problem with your output.

    1) Could you give us the exact version of WAS you using? (6.1.x.x).
    2) Can you share the WSDL file with us?
    3) As a test, can you run the wizard against this WSDL: http://terraserver-usa.net/TerraService2.asmx?WSDL
    and let us know if that works for you?

    #282190

    Brian Fernandes
    Moderator

    dimaguz,

    We are getting ready for our next release and would like to make sure this issue is resolved. Did you try any of the steps I mentioned earlier and get the tools working?

    We appreciate your support,

    #283318

    nanpu
    Member

    This message has not been recovered.

    #283319

    nanpu
    Member

    Sorry, I forgot to mention that I was using GA version.

    #283364

    Riyad Kalla
    Member

    Wesley,
    Is this a JAX-RPC service on WAS 6.0? Any service packs or feature packs installed?

    Could you share the WSDL with me (PM it to me)

    #310890

    marcn
    Member

    Hello Nanpu,
    I am having the same problem, wonder if you can assist me how did you fix it.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Error while running new WebService wizard

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