This problem to find a lot of places have no results, their own summary of it, is not the fundamental way to solve the problem, but it is also a way. At that time with Wsimport Wsdl2java Xfire have no solution, Daniel can solve the words, welcome message.
Project calls the third-party interface, through the Weibservice call, but this thing, is someone else with PHP out, there is a <xsd:element name= "factura" type= "Xsd:array"/> This label, Not supported in namespaces, Ecipse prompts as follows (
Src-resolve.4.2:error resolving component ' Xsd:array '. It was detected this ' Xsd:array ' is in the namespace ' Http://www.w3.org/2001/XMLSchema ', but the components from
This namespace is not a referenceable from the schema document ' FILE:///D:/WORKSPACE2/MPESO/SRC/MAIN/RESOURCES/MPESO_AP.WSDL '. If This is the incorrect namespace,
Perhaps the prefix of ' xsd:array ' needs to be changed. If this was the correct namespace, then an appropriate ' import ' tag should was added to ' file:///D:/workspace2/
Mpeso/src/main/resources/mpeso_ap.wsdl '.
)
Causes the client code to be generated when the error is always
iwab0399e Error in generating Java from WSDL:java.io.IOException:Type {Http://www.w3.org/2001/xmlschema}array are refere nced but not defined.
Java.io.IOException:Type {Http://www.w3.org/2001/xmlschema}array is referenced and not defined.
At org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined
My solution is to comment out this type, and then go through the clues, comment out the corresponding parameters and interfaces, it is plain that I do not use this interface (because my project does not have this interface)
This is no problem, but the generation of Java code, the proxy class implementation of the interface package name is wrong, try to try, their own manual change is good, in the proxy class to implement the corresponding method of the interface OK, (proxy mode only).
WebService Xiao Kee