• Entries (RSS)
  • Comments (RSS)

IWAB0639E Error when generating web service client

Posted by | Posted in RAD, WebSphere | Posted on 25-01-2008

Tagged Under : , , ,

Today when I tried to generate a web service client for Business Flow Manager API (WSDL files are BFMIF.wsdl, BFMWS.wsdl), WebSphere Integration Developer started giving me an error message and no web service client files are generated. :-( . The error message is as follows.

IWAB0639E Error in generating Java files and deployment descritpors from WSDL file
   java.io.IOException: WSWS3205E: Error: Type {http://www.w3.org/2001/XMLSchema}anySimpleType is referenced but not defined.
   at com.ibm.ws.webservices.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:656)
   at com.ibm.ws.webservices.wsdl.symbolTable.SymbolTable.firstPass(SymbolTable.java:528)
   at com.ibm.ws.webservices.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:500)
   at com.ibm.ws.webservices.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:472)
   at com.ibm.ws.webservices.wsdl.Parser$WSDLRunnable.run(Parser.java:293)
   at java.lang.Thread.run(Thread.java:816)

I have generated these WSDLs from the admin console of WebSphere Application Server. I don’t know what the root cause of this problem is. I had done a search on this error message and I could see some people are telling this as a problem with SOAP version, RAD is using. However I found out the solution for this problem.

In the web service client generation wizard, in Client Environment Configuration select ‘IBM WebSphere’ as the Web service runtime. Now you will be able to generate the web service client without any problems.

Share

Read More

Comments

4 comments posted onIWAB0639E Error when generating web service client

  1. IWAB0639E :

    even when my runtime is IBM webSphere. I get this error.

    do you know how to resolve this?

  2. Sorry Nishant, I really don’t have any clue about this issue. I was able to resolve the error after selecting IBM WebSphere as my runtime. Btw, what is the RAD version you are using? I was trying with RAD 6.0.x

  3. Hi i m also getting the same error while generating java code fron wsdl using RAD 6.0.2 and WID.

  4. When the WSDL include a “anySimpleType” for an element, states that the type of this element is not really defined. It’s possible this element can contain one of several java types or any type.

    The generated class must define a type for all the elements in the WSDL. The type is used to serialize and deserialize the XML. The type is used to create the XML and fill the object with the XML values.

    The error: The java generator cannot generate the class, because it doesn’t know what type must use
    anySimpleType is referenced but not defined

    you must modify the WSDL and include annotations or something to define the real type of the element.

Post a Comment