File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Null Qualified name .. JAXRPCException while deploying a web service.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Null Qualified name .. JAXRPCException while deploying a web service.." Watch "Null Qualified name .. JAXRPCException while deploying a web service.." New topic
Author

Null Qualified name .. JAXRPCException while deploying a web service..

Pavan Panduga
Ranch Hand

Joined: Jun 12, 2002
Posts: 68
Hello,
When I'm trying to deploy a web service using wsdd it's throwing aJAXRPCException..
I have no idea what's wrong with this file.
I have a ProductCatalogWebService which accesses some beans (java-beans) which in turn access Persistent objects. I have provided typeMapping for every bean available in the beans package.
can anyone please suggest?? This is really eating up my time.
thanks in advance,
pavan
<deployment
xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

<service name="ProductCatalogWebService" provider="java:RPC"
style="rpc" use="encoded">

<parameter name="className" value="de.freenet.productcatalog.ws.ProductCatalogWebService"/>
<parameter name="allowedMethods" value="getAllProducts"/>

<beanMapping
xmlns:ns="http://beans.productcatalog.freenet.de"
qname="ProductCatalogNS roduct"
languageSpecificType="java e.freenet.productcatalog.beans.Product"

serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
/>

<beanMapping
xmlns:ns="http://beans.productcatalog.freenet.de"
qname="ProductCatalogNS roductAlias"
languageSpecificType="java e.freenet.productcatalog.beans.ProductAlias"

serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
/>

<beanMapping
xmlns:ns="http://beans.productcatalog.freenet.de"
qname="ProductCatalogNS roductAttribute"
languageSpecificType="java e.freenet.productcatalog.beans.ProductAttribute"

serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
/>

<beanMapping
xmlns:ns="http://beans.productcatalog.freenet.de"
qname="ProductCatalogNS roductBundle"
languageSpecificType="java e.freenet.productcatalog.beans.ProductBundle"

serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
/>

<beanMapping
xmlns:ns="http://beans.productcatalog.freenet.de"
qname="ProductCatalogNS roductConfig"
languageSpecificType="java e.freenet.productcatalog.beans.ProductConfig"

serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
/>

<beanMapping
xmlns:ns="http://beans.productcatalog.freenet.de"
qname="ProductCatalogNS roductConstraint"
languageSpecificType="java e.freenet.productcatalog.beans.ProductConstraint"

serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
/>

<beanMapping
xmlns:ns="http://beans.productcatalog.freenet.de"
qname="ProductCatalogNS roductGroup"
languageSpecificType="java e.freenet.productcatalog.beans.ProductGroup"

serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
/>

<beanMapping
xmlns:ns="http://beans.productcatalog.freenet.de"
qname="ProductCatalogNS roductSupplier"
languageSpecificType="java e.freenet.productcatalog.beans.ProductSupplier"

serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
/>

<beanMapping
xmlns:ns="http://beans.productcatalog.freenet.de"
qname="ProductCatalogNS:ReasonCode"
languageSpecificType="java e.freenet.productcatalog.beans.ReasonCode"

serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
/>
</service>
</deployment>
Pavan Panduga
Ranch Hand

Joined: Jun 12, 2002
Posts: 68
got it,
I missed this line.
xmlns roductCatalogNS="urn roductCatalogWebService"
it works now.
thanks,
pavan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Null Qualified name .. JAXRPCException while deploying a web service..
 
Similar Threads
Axis + CGLIB = BeanSerializerFactory problems
Creating a wsdd for Axis deployment for complex types
Axis Complex Type
No deserializer for {urn:data}
Complex Data Type Axis