Help integrating mysql database in Web Services Developer Pack

2006-04-20 Thread Gorka López
Hello,
 
I read a lot of pages and try a lot of configuraions but I can´t do that my web service access to a mysql database.
 
I´m using Web Service Developer pack 2.0 (it is the same as Tomcat). Could anybody hel me??
 
Thanks. Kemmotar


Deploy a web service without wsdd (with wsdl and java classes) in Axis

2006-04-20 Thread Gorka López

Hello,
 
I know how to deploy a web service in axis with the .wsdd file (java org.apache.axis.client.AdminClient -lhttp://localhost:8080/axis/services/AdminService deploy.wsdd)
 
But I want to deploy a web service with the java files and the wsdl file: Is it possible??How is it possible??If it is not possible, can i get the wsdd file from the others files??
 
Thanks. Kemmotar


Deploy a web service with .wsdl and java files

2006-04-20 Thread Gorka López
Hello,
 
I know how to deploy a web service in axis with the .wsdd file (java org.apache.axis.client.AdminClient -lhttp://localhost:8080/axis/services/AdminService deploy.wsdd)
 
But I want to deploy a web service with the java files and the wsdl file: Is it possible??How is it possible??
 
Thanks. Kemmotar


Re: Problem with Axis and WS-I compliant

2006-04-17 Thread Gorka López
I have another problem. I can create the stub, but the class han no methods. When I generate the stub with j2me wireless toolkit, it appears this warning:
 
warning: ignoring operation "validarUsuario": more than one part in input messagewarning: Port "ValidadorWS" does not contain any usable operations 
Could anybody help me?Thanks 
On 4/17/06, Anne Thomas Manes <[EMAIL PROTECTED]> wrote:

In the WSDD  definition, specify style="document" use="literal". See 
http://www.oio.de/axis-wsdd/service.htm.  
Anne

On 4/17/06, Gorka López <[EMAIL PROTECTED]
> wrote: 


Hello everybody,I did a web service and a normal application that consume it. This runs ok. Now I have to do a j2me client that consume the same web service, but when I try to generate the stubs with netBeans or j2me wireless toolkit from the wsdl file that generate from wsdd file, it appears this error: 
Web Service is not WS-I compliant. Style is not document/literal.I generate the wsdl file with this command: java org.apache.axis.client.AdminClient -l
 http://localhost:8080/axis/services/AdminService deploy.wsddDoes anybody know how to obtain a ws-i compliant web service with axis??PD: The problem is that the wsdl file generated, in  appears the attribute use=encoded. If I could change this, and I write use=literal this will work fine 



Re: Axis andJ2ME web service client

2006-04-17 Thread Gorka López
Thanks for the response. I´m sorry if I send some mails, but my mail doesn´t work ok.
 
I try this solution. I hope I will not have any questions.
 
Thanks a lot, Kemmotar 
On 4/17/06, Anne Thomas Manes <[EMAIL PROTECTED]> wrote:

Kemmotar,Your J2ME client tool supports a limited set of SOAP functions -- as defined by the WS-I Basic Profile. Axis generates rpc/encoded style services by default, which isn't allowed by the WS-I Basic Profile. 
I assume that you are starting with Java code. In order to generate a WS-I compliant service, you cannot use the simple JWS service method. You should first define your Java interface. Then run Java2WSDL, specifying that you want to use the WRAPPED style (-yWRAPPED). Then run WSDL2Java. 
 
Anne

On 4/17/06, Gorka López <[EMAIL PROTECTED]
> wrote: 


Hello,
 
I´m principiant with this tecnologies. I did a normal application that uses a simple web service, but when I try to use with j2me client, when I try to generate the stubs, the error is:
 
wsdl is not WS-I compliant ( Style is not document/literal).
 
I don´t know what I have to do. Could anybody give me a simple example of a web service and a j2me client.
 
Thanks a lot. Kemmotar


Problem with Axis and WS-I compliant

2006-04-17 Thread Gorka López
Hello everybody,I did a web service and a normal application that consume it. This runs ok. Now I have to do a j2me client that consume the same web service, but when I try to generate the stubs with netBeans or j2me wireless toolkit from the wsdl file that generate from wsdd file, it appears this error:
Web Service is not WS-I compliant. Style is not document/literal.I generate the wsdl file with this command: java org.apache.axis.client.AdminClient -l
http://localhost:8080/axis/services/AdminService deploy.wsddDoes anybody know how to obtain a ws-i compliant web service with axis??PD: The problem is that the wsdl file generated, in  appears the attribute use=encoded. If I could change this, and I write use=literal this will work fine



Axis andJ2ME web service client

2006-04-17 Thread Gorka López
Hello,
 
I´m principiant with this tecnologies. I did a normal application that uses a simple web service, but when I try to use with j2me client, when I try to generate the stubs, the error is:
 
wsdl is not WS-I compliant ( Style is not document/literal).
 
I don´t know what I have to do. Could anybody give me a simple example of a web service and a j2me client.
 
Thanks a lot. Kemmotar


wsdd Web Service is not WS-I compliant (Style is not 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:
http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

 




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/"
/> 
  
http://www.w3.org/2001/XMLSchema" >
http://www.w3.org/2001/XMLSchema"/
>
http://www.w3.org/2001/XMLSchema"/
>



 
Could anybody help me with this error??
 
 
Thanks a lot. Kemmotar


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:
http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

 




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/"
/> 
  
http://www.w3.org/2001/XMLSchema" >
http://www.w3.org/2001/XMLSchema"/>
http://www.w3.org/2001/XMLSchema"/>



 
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:
http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

 




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/"
/> 
  
http://www.w3.org/2001/XMLSchema" >
http://www.w3.org/2001/XMLSchema"/>
http://www.w3.org/2001/XMLSchema"/>



 
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