Hi Everyone, I forgot to attach the wsdl and xsd documents to my original post. Sorry.
-Ben
--- Jason Sweek <[EMAIL PROTECTED]> wrote:
> Hi Everyone,
>
> I'm new to axis (and web services) and I'm in the
> process of trying to implement a web service. I
> have
> a wsdl file (wsdir.wsdl attached) describing the
> service and I'm currently trying to create a
> skeleton
> Java code using WSDL2Java. However when I run
> WSDL2Java I get the following error message.
>
> # java org.apache.axis.wsdl.WSDL2Java --server-side
> --skeletonDeploy true wsdir.wsdl
>
{http://www.w3.org/2005/03/addressing}EndpointReference
> already exists
>
{http://www.w3.org/2005/03/addressing}EndpointReferenceType
> already exists
>
{http://www.w3.org/2005/03/addressing}ReferenceParametersType
> already exists
> {http://www.w3.org/2005/03/addressing}Metadata
> already
> exists
> {http://www.w3.org/2005/03/addressing}MetadataType
> already exists
> {http://www.w3.org/2005/03/addressing}MessageID
> already exists
> {http://www.w3.org/2005/03/addressing}RelatesTo
> already exists
> {http://www.w3.org/2005/03/addressing}RelatesToType
> already exists
>
{http://www.w3.org/2005/03/addressing}RelationshipTypeOpenEnum
> already exists
>
{http://www.w3.org/2005/03/addressing}RelationshipType
> already exists
> {http://www.w3.org/2005/03/addressing}ReplyTo
> already
> exists
> {http://www.w3.org/2005/03/addressing}From already
> exists
> {http://www.w3.org/2005/03/addressing}FaultTo
> already
> exists
> {http://www.w3.org/2005/03/addressing}To already
> exists
> {http://www.w3.org/2005/03/addressing}Action already
> exists
>
{http://www.w3.org/2005/03/addressing}AttributedURIType
> already exists
>
{http://www.w3.org/2005/03/addressing}isReferenceParameter
> already exists
>
{http://www.w3.org/2005/03/addressing}FaultCodesOpenEnumType
> already exists
> {http://www.w3.org/2005/03/addressing}FaultCodesType
> already exists
> {http://www.w3.org/2005/03/addressing}RetryAfter
> already exists
>
{http://www.w3.org/2005/03/addressing}AttributedNonNegativeIntegerType
> already exists
> java.io.IOException: Type EndpointReferenceType is
> referenced but not defined.
> at
>
org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:665)
> at
>
org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:545)
> at
>
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:518)
> at
>
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
> at
>
org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
> at java.lang.Thread.run(Thread.java:595)
>
> I searched the archives and found people with
> similar
> error messages to me but I'm still having trouble
> figuring out how to fix it. Can somebody tell me
> what
> I'm doing wrong? Thanks in advance.
>
> -Jason
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
wsdir.wsdl
Description: 50286871-wsdir.wsdl
wsdir.xsd
Description: 2112488950-wsdir.xsd
