axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Fremantle" <pzf...@gmail.com>
Subject Re: Location of javax.xml.namespace.QName
Date Mon, 21 May 2007 15:46:40 GMT
Axis2 comes with

lib\xml-apis-1.3.03.jar

This contains the j.x.n.QName class you need.
WSDL2Java usually generates a build.xml file. If you have ant on your
system (ant.apache.org) and you have set AXIS2_HOME in your
environment then you should be able to build the stubs and your client
code just by typing:
> ant

Paul

On 5/21/07, Doug Schaible <dougjrs@gmail.com> wrote:
>
> Good Afternoon All,
>
> Using Axis2 and wsdl2java I have created stub classes for connecting to a
> .net service.  When I try to build the code that it generated I get lots of
> errors like the ones below.  I have added all of the Jar files from the
> Axis2 lib directory to my class path, but the error continues.
>
> Can anyone tell me what jar file class javax.xml.namespace.QName is in?  I
> did do a Google search, but non of the jars that I downloaded had any impact
> on the errors.
>
> Thanks,
> Doug
>
>
>     [javac] /ServiceServiceSoapStub.java:1479: cannot
> resolve symbol
>     [javac] symbol  : constructor QName
> (java.lang.String,java.lang.String,java.lang.String)
>     [javac] location: class javax.xml.namespace.QName
>     [javac]                 public static final javax.xml.namespace.QName
> MY_QNAME = new javax.xml.namespace.QName(
>     [javac]
>                          ^
>     [javac] /ServiceServiceSoapStub.java:1578: cannot
> resolve symbol
>     [javac] symbol  : method getPrefix ()
>     [javac] location: class javax.xml.namespace.QName
>     [javac]                 java.lang.String prefix =
> parentQName.getPrefix();
>


-- 
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
paul@wso2.com

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message