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

2006-04-15 Thread Gorka López
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


wsdd web service is not WS-I compliant (document/literal)

2006-04-14 Thread Gorka López
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

I read a lot of pages, and I think I have to translate the wsdd to document/literal, but I don´t find any example of the translation. Could anybody help me with this error??

Thanks a lot. Kemmotar