You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Gorka López <ke...@gmail.com> on 2006/04/15 10:30:42 UTC

wsdd Web Service is not WS-I compliant (document/literal)

Hello,

I´m principiant with Web services and mobile applications. I have a web
service that runs ok with a normal client application, but I have to do a
j2me mobile client application. When I try to debug the .wsdd file with J2ME
Wireless Toolkit or with NetBeans, it appears the same error: Web Service is
not WS-I compliant (Reason: Style is not DOCUMENT/LITERAL).

This is the code of my .wsdd file:

<deployment xmlns="http://xml.apache.org/axis/wsdd/"

xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

<service name="PruebaWS" provider="java:RPC">



<parameter name="className" value="servicios.PruebaGPS"/>

<parameter name="scope" value="application"/>

<parameter name="allowedMethods" value="*"/>


<typeMapping

xmlns:ns="urn:servicios"

qname="ns:PruebaGPSException"

type="java:servicios.PruebaGPSException"

serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"

deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"

encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

/>




<operation name="obtenerEnlace" qname="operNS:obtenerEnlace"
xmlns:operNS="urn:servicios" returnQName="obtenerEnlaceReturn"
returnType="rtns:string" xmlns:rtns="http://www.w3.org/2001/XMLSchema" >

<parameter name="lon" type="tns:double" xmlns:tns="
http://www.w3.org/2001/XMLSchema"/>

<parameter name="lat" type="tns:double" xmlns:tns="
http://www.w3.org/2001/XMLSchema"/>

</operation>


</service>

</deployment>

Could anybody help me with this error??


Thanks a lot. Kemmotar