axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "parmod mehta" <parmod_me...@hotmail.com>
Subject RE: Java2WSDL problem for vandana
Date Fri, 14 Mar 2003 17:12:12 GMT
Hi vandana,

I copied my class files into the servlet directory and got it working. I 
haven't implemented the client side as yet. If I get a problem, I'll get 
back to you.

Thanks-
Parmod Mehta







>From: "Balakrishna, Vandana (Cognizant)" <VandanaB@pun.COGNIZANT.COM>
>Reply-To: axis-user@ws.apache.org
>To: <axis-user@ws.apache.org>
>Subject: RE: Java2WSDL problem for vandana
>Date: Mon, 10 Mar 2003 11:26:21 +0530
>
>Hi,
>
>What is the exception that you're getting while deploying the service?
>
>rgds,
>Vandana.
>
>-----Original Message-----
>From: parmod mehta [mailto:parmod_mehta@hotmail.com]
>Sent: Saturday, March 08, 2003 9:42 PM
>To: axis-user@ws.apache.org
>Subject: Re: Java2WSDL problem for vandana
>
>
>Hi,
>
>Sorry I don't have answer of your question. Can you answer my question? 
>This
>is the first time I am using axis. I have encountered a problem straight
>away.
>
>I generated a WSDL from an interface with namespace "urn:managerdata".  The
>WSDL2Java tool created a directory named managerdata in my current 
>directory
>and stored the stub, skeleton, delpoy.wsdd and undeploy.wsdd in the
>managerdata directory.
>
>When I tried to deploy the service. The axis view for web service gave me
>the exception.
>
>I didn't create the client, neither did I compiled the stubs and skeleton
>because when I tried to compile the SoapBindings. It gave me errors.
>
>Could you please help me in solving my problem?
>
>Thanks,
>Parmod Mehta
>
>
>
>
>
>
> >From: "Balakrishna, Vandana (Cognizant)" <VandanaB@pun.COGNIZANT.COM>
> >Reply-To: axis-user@ws.apache.org
> >To: <axis-user@ws.apache.org>
> >Subject: Java2WSDL problem.
> >Date: Sat, 8 Mar 2003 16:37:52 +0530
> >
> >Hi,
> >
> >Am trying to generate a WSDL file from my deployed service. The command I
> >give is as follows:
> >
> >D:\xml-axis-10\samples\CustomClaimManager>java
> >org.apache.axis.wsdl.Java2WSDL -o ClaimManager.wsdl
> >-l"http://localhost:9080/axis/services/ClaimManage"
> >  -n"urn:ClaimManager" 
>-p"com.metlife.ins.portal.disability.common.manager"
> >-P"com.metlife.ins.portal.disability.common.manager.ClaimManager" 
>com.metli
> >fe.ins.portal.disability.common.manager.ClaimManager
> >
> >This throws up an exception where it tries to make an entry for my custom
> >serialiser into the WSDL. How else do I specify my custom typemappings to
> >the Java2WSDL tool?  The entry in the server-config.wsdd for the same is 
>as
> >follows:
> >  <typeMapping
> >deserializer="com.metlife.ins.portal.disability.common.encoding.CollectionDeSerializerFactory"
> >encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> >qname="java:arrlist"
> >serializer="com.metlife.ins.portal.disability.common.encoding.CollectionSerializerFactory"
> >type="java:java.util.ArrayList"/>
> >
> >The exception :
> >
> >- The class java.util.ArrayList is defined in a java or javax package and
> >cannot be converted into an xml schema type.  An xml schema anyType will 
>be
> >used to define this class in the wsdl file.
> >WSDLException: faultCode=OTHER_ERROR: Can't find prefix for
> >'http://www.w3.org/1999/XMLSchema'. Namespace prefixes must be set on the
> >Definition objec
> >t using the addNamespace(...) method.:
> >         at com.ibm.wsdl.util.xml.DOMUtils.getPrefix(Unknown Source)
> >         at com.ibm.wsdl.util.xml.DOMUtils.getQualifiedValue(Unknown
> >Source)
> >         at 
>com.ibm.wsdl.util.xml.DOMUtils.printQualifiedAttribute(Unknown
> >Source)
> >         at com.ibm.wsdl.xml.WSDLWriterImpl.printParts(Unknown Source)
> >         at com.ibm.wsdl.xml.WSDLWriterImpl.printMessages(Unknown Source)
> >         at com.ibm.wsdl.xml.WSDLWriterImpl.printDefinition(Unknown 
>Source)
> >         at com.ibm.wsdl.xml.WSDLWriterImpl.writeWSDL(Unknown Source)
> >         at com.ibm.wsdl.xml.WSDLWriterImpl.getDocument(Unknown Source)
> >         at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:236)
> >         at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:289)
> >         at org.apache.axis.wsdl.Java2WSDL.run(Java2WSDL.java:458)
> >         at org.apache.axis.wsdl.Java2WSDL.main(Java2WSDL.java:497)
> >
> >Any one who can help me????
> >
> >Warm regards,
> >Vandana Balakrishna.
> >Cognizant Technology Solutions.
> >Ph No. 2931100 Extn:2474
> >  "You know what you are, but not what you can become." - from "Wings of
> >Fire"
> >
> ><< InterScan_Disclaimer.txt >>
>
>
>_________________________________________________________________
>Cricket World Cup 2003- News, Views and Match Reports.
>http://server1.msn.co.in/msnspecials/worldcup03/
>
><< InterScan_Disclaimer.txt >>


_________________________________________________________________
Still unmarried? http://www.msn.co.in/Matrimony/ Find a life partner now


Mime
View raw message