https without certificate

2004-03-16 Thread Hans Jakob Skovenborg
I have to make a client to acces to a https webservice. But the server don't have a certificate. Are there anyway to trust the server without certificate using the Axis framework? What I want to do, you can do in a clean https connection like -> In com.sun.net.ssl.HttpsURLConnection there are a se

Re: NoSuchMethodError when trying to use a webservice

2003-12-16 Thread Hans Jakob Skovenborg
Hi Joergen Did you use WSDL2Java to build your WebService client stub. It generates the following class'es for you. You should have 2 implementing classes, a ServiceLocator.java and a bindingStub.java + 2 interface class'es for those. You should also have some Value Beans Could you show your impl

Dublicate namspace declaration from SOAP 2.3

2003-11-26 Thread Hans Jakob Skovenborg
Hi All First the case: I'ave made a Message Service in Apache SOAP 2.3 (my application server is WAS 3.5.3) My client are using WAS 5.0 so he made a client using Axis WSDL2Java. Then the problem: When I marshall the Envelope using org.apache.soap.Envelope marshall(...) method, it replicate the nam

Operation name = part name /client WSDL2Java

2003-11-17 Thread Hans Jakob Skovenborg
I found following in Axis which are even a very funny way of implementing funktionality or a bug. I made a wsdl for a document/literal web service. If I'm naming my operation name the same as the name af my request part and then run the wsdl2java (client), I get an RPC like method signature contai

SV: Invalid date/time

2003-10-17 Thread Hans Jakob Skovenborg
Title: Meddelelse Well, my code is generated by WSDL2Java and I have checked it now and it's using java.util.Date. ;-!   -Oprindelig meddelelse-Fra: Ajia [mailto:[EMAIL PROTECTED] Sendt: 17. oktober 2003 13:32Til: [EMAIL PROTECTED]Emne: RE: Invalid date/timeu need to use java.util.d

Invalid date/time

2003-10-17 Thread Hans Jakob Skovenborg
I got problems using schema date type in an attribute definition. The element is here 250. I don't get gany problems by using date type in an element definition like this 2003-10-06 At the client side I get following exception -> java.lang.NumberFormatException: Invalid date/time

AxisFault subclass

2003-10-03 Thread Hans Jakob Skovenborg
Can someone tell me how to catch an AxisFault subclass at the clientside. Regards Jakob

Extend AxisFault

2003-10-02 Thread Hans Jakob Skovenborg
Hello Problem to catch a userdefined AxisFault on clientside. * In my WSDL I defined a wsdl:fault element in the binding. * Then I generate both a server and a client stub using the WSDL2Java. * At both side's I can see that it has generated a _JbFault class matching my fault s

SV: Validating a webservice

2003-09-29 Thread Hans Jakob Skovenborg
I don't want to validate my webservice manuel in an external tool. What I want is an automatical check that runs against my webservice every fx 5 minutes and every time I'm deploying. I'm wondering if you can't turn on validating the Webservice i Axis framework. -Oprindelig meddelelse- Fr

Validating a webservice

2003-09-29 Thread Hans Jakob Skovenborg
When I use WSDL2Java to bulid my Webservice Skeleton I get the SOAPBindingImpl class where I implement my Webservice. But how do I validate that I implement my Webservice so it is valid XML (against the XML-schema) I send back in the soap body.

RE: Axis MessageContext to the WebService

2003-08-18 Thread Jakob Skovenborg
aid, this is all explained in the Axis user guide > and architecture > guide so you should really read those. > > I appologise if I have misunderstood your problem but if I > have then please > explain your problem in more detail. > > Jim > > > -Original M

SV: Axis MessageContext to the WebService

2003-08-18 Thread Hans Jakob Skovenborg
Jakob Usually the MessageContext is available to a Web service invoked by axis through the static method of the MessageContext class as follows: MessageContext msgContext = MessageContext.getCurrentContext(); I think that is the one... HTH Jim > -Original Message- > From:

RE: Axis MessageContext to the WebService

2003-08-18 Thread Jakob Skovenborg
rned depending the thread that invokes it. > > - Rob > > > - Original Message - > From: "Jakob Skovenborg" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, August 18, 2003 10:54 PM > Subject: Re: RE: Axis MessageContext

RE: Axis MessageContext to the WebService

2003-08-18 Thread Jakob Skovenborg
static method of the MessageContext class as > follows: > > MessageContext msgContext = > MessageContext.getCurrentContext(); > > I think that is the one... > > HTH > Jim > > > -Original Message- > > From: Jakob Skovenborg [mailto:[EMAIL PROTECTED] >

Re: RE: Axis MessageContext to the WebService

2003-08-18 Thread Jakob Skovenborg
static method of the MessageContext class as > follows: > > MessageContext msgContext = > MessageContext.getCurrentContext(); > > I think that is the one... > > HTH > Jim > > > -Original Message- > > From: Jakob Skovenborg [mailto:[EMAIL PROTECTED] >

Axis MessageContext to the WebService

2003-08-16 Thread Jakob Skovenborg
How do I pass the Axis MessageContext from the Pivot Handler to the WebService. My Webservice has to get access to a backend service which need the UserID from MessageContext. /Jakob