SwA Example

2004-08-27 Thread Hector Flores
Does anyone know of examples that show wsdl, java server, and java client for MIME attachments. Can't seem to get my client to work. Raul

Re: Initializing the SSL subsystem using a custom trust manager

2004-08-27 Thread Prashant Khandelwal
Responding to my own question. Instead of using the HTTPSender class, I wrote my own custom http handler which gets a socket from a factory that has been initialised with the custom trust manager. This handler is specified in the client-config.wsdd file and used by the axis client. Pras

AdminClient gives 401 error on localhost???

2004-08-27 Thread Jonathan DiCarlo
Hello everybody, I'm having trouble deploying my first webservice on Axis. (I bet you hear that a lot). Specifically, I get a 401:unauthorized error when I run AdminClient (or the ant task ). The fine print in the error message says "Remote administration access not allowed". This is strang

swaRef URI initialization "Whats the right WSDL for MIME"

2004-08-27 Thread Hector Flores
I am trying to do attachments via the recent AP 1.0 SwA profile but need some help in creating the URI object. Not sure what to do here. I am using the wsdl for doc/literal which was previously posted on this site for "What's the right WSDL for MIME" (also found in the AP 1.0)

RE: Java2WSDL Error - Please register a typemapping/beanmapping for

2004-08-27 Thread Sagar Pidaparthi
If you don't use an ant task here is a possible solution. Edit and copy the following line to your Server-config.wsdd and restart your server. here is another example languageSpecificType="java:com.c.bs.cib.Customer" It is also possible to auto generate all the required mappings u

swaRef URI initialization "Whats the right WSDL for MIME"

2004-08-27 Thread Hector Flores
I am trying to do attachments via the recent AP 1.0 SwA profile but need some help in creating the URI object. Not sure what to do here. I am using the wsdl for doc/literal which was previously posted on this site for "What's the right WSDL for MIME" (also found in the AP 1.0)

RE: Java2WSDL Error - Please register a typemapping/beanmapping for

2004-08-27 Thread Christophe Roudet
Try something like that in your ant task: ... Christophe > -Original Message- > From: Gerlach, Daryl CTR (NAVSISA Code 942) > [mailto:[EMAIL PROTECTED] > Sent: Friday, August 27, 2004 4:37 PM > To: [EMAIL PROTECTED] > Subject: Java2WSDL Error - Please register a typema

default SecurityProvider as MessageContext property

2004-08-27 Thread Daniel Amadei
Hi All,   Do you know how can I set a custom security provider as the default, being kept as the MessageContext Security Provider property? (Maybe using WSDD)   Thanks   Daniel     Yahoo! Acesso Grátis - navegue de graça com conexão de qualidade!

Java2WSDL Error - Please register a typemapping/beanmapping for

2004-08-27 Thread Gerlach, Daryl CTR (NAVSISA Code 942)
I have an existing application that I am attempting to turn into a web service. I am using Axis 1.2 beta Java2WSDL using Document/Literal settings to generate the WSDL from Java source. The methods return custom exceptions. When I run Java2WSDL I get the following error message: Please registe

Catalog of validations in AXIS

2004-08-27 Thread Marcelo Loutfi
Hi People,I have a problem. I have an web service and I need to create a catalog of scheemas, these schemas will validate the XMLs included in the soap response. I'd like to know how can I handle this catalogs in my web Service. I saw something about catalogs of validations in this link http://xml.

InvocationTargetException

2004-08-27 Thread Ivan Aguirre
Sorry... it's a large message, but if anyone could help me ;).. thanx I have an strange fault when calling a Axis Web Service. I use two methods: getPagedUserReport and getPageFromReport from the same WS, called "Report". The caller code: *

Re: Serialization error with Axis1.2 rpc/encoded service and gSOAP

2004-08-27 Thread Frank Cohen
I'd like to chime in on this topic... A TestMaker user at SAP posted an email saying he couldn't get TestMaker to deserialize a soapenc:string response from Axis 1.3 beta 3. TestMaker uses Apache SOAP as its SOAP stack. Anyone that's followed my work knows that I urge developers to use Docu

Bugfix for "null serializer factory specified"

2004-08-27 Thread Niall Smart
Hi all, If you are seeing this error on deployment (its usually caused by a class missing from Axis' classpath) then please see this bug report and patch, vote for it if you wish: * http://issues.apache.org/jira/browse/AXIS-1534 Niall

Re: Newbie: Using Axis for serializing/deserializing only

2004-08-27 Thread mike
Oleg Tkachenko tkachenko.com> writes: > > Janarthanan Poornavel wrote: > > > Google and look for skaringa.net ,its quite simple and effective > > Well, thanks for suggestions once again, but can anybody explain how > this can be done with Axis? > This may help: http://cvs.apache.org/viewcv

Re: How to stop my ws reloading for each invocation?

2004-08-27 Thread [EMAIL PROTECTED]
Thanks, thats exactly what I was looking for - none of my googles led me there. Works perfectly now. Cheers Mahen Perera wrote: Deploy the Web Service as *session* scope, Then the same instance will be used througout the session. Currently the scope is *request*, where a new service insatnce is cre

SOAPPart exception w/ Axis

2004-08-27 Thread ericho
Hi, I have some code that was using the WSDP stuff from sun and we are moving it to use axis. We have the following weird behavior. This code snippet: - SOAPMessage message = factory.createMessage(); MimeHeaders mh = message.getMimeHeaders(); mh.addHeader("SOAPActio

Re: How to stop my ws reloading for each invocation?

2004-08-27 Thread Mahen Perera
Deploy the Web Service as *session* scope, Then the same instance will be used througout the session. Currently the scope is *request*, where a new service insatnce is created for each method call Mahen On Fri, 27 Aug 2004 16:29:14 +0200, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Each time

How to stop my ws reloading for each invocation?

2004-08-27 Thread [EMAIL PROTECTED]
Each time my web service is invoked, Axis creates a new instance of the **SOAPBindingImpl class. Is there a way to tell it do re-use the first instance created for all subsequent invocations of the web service? much appreciated wh

Re: WSDL for no-arg operation in document style

2004-08-27 Thread tony . q . weddle
I'm just starting to use AXIS (and web services), apart from brief acquaintances 6 and 18 months ago. I've also been working with client code, going to a no-arguments web service. I'm using AXIS at both ends and noticed the same ugly code (having to pass null) as you did, for your workaround. I tr

how identify my cliente with an electronic certificate

2004-08-27 Thread Daniel Sánchez Gómez
Hi, I have created a Web service. I want that the Web Service can identify the client. I don't know how I can do it I supose that in the webservice side... I would like use electronic certificates for this purpose. I use AXIS 1.1, tomacat 5 and I use: - Java2WSDL tool to generate WSDL file - WS

problem generating client - getMinOccrs()I

2004-08-27 Thread Jane Knight
Hiya,I was wondering if someone can help me..  using the binary version of wsdl2ws on Linux I am trying to generate client from a wsdl file but I get following error:[EMAIL PROTECTED] xmethod]$ java org.apache.axis.wsdl.wsdl2ws.WSDL2Ws method.wsdl-lc++ -sclientargs =args =1-

SimpleSessionHandler

2004-08-27 Thread Mahen Perera
hi Has somebody used the SimpleSessionHandle successfully for SessionManagement Please let me know Mahen

WSDL for no-arg operation in document style

2004-08-27 Thread Phil McCarthy
Hello, I'm trying to figure out what the correct way is to represent a zero-parameter operation in a document-style webservice (for instance, a getCartContents() call to a stateful e-commerce webservice). I haven't found anything explicit in the docs, or in the list archives, though there is some

Best way for a ws to handle undeployment notifs?

2004-08-27 Thread [EMAIL PROTECTED]
Hi all, I'm wondering how to allow my web service to correctly shut down before it's undeployed? Is there some special interface to extend? I'm looking for something like the servlet "dispose()" method which will be called by Axis prior to actually undeploying the webservice, to allow some cleanu

Re: WSDL2Java and document/literal

2004-08-27 Thread tony . q . weddle
Don't worry; I think I've figured this out. I had assumed that an object needed to be passed to the method in the generated stub. The actual web service implementation doesn't need a parameter but the generated stub method takes an object. I'm new to this but managed to find some reference to a S

Session Management using SOAP headers

2004-08-27 Thread Mahen Perera
Hi ! I am using .NET as the client and AXIS SOAP engine deployed in WebSphere as the server . I used the SimpleSessionHandler in the server side.. It is sending some session id the response message. Now i want to use this session id and do session management in the .NET client.. I am thining

WSDL2Java and document/literal

2004-08-27 Thread tony . q . weddle
Hi, I have some WSDL that defines a service which takes no parameters but which has a complex response object. The response object defines a list of complex objects (which are not very complex in reality, with each object having a few attributes of strings and ints). The WSDL2Java tool generates

RE: Re[2]: HTTPs with Axis

2004-08-27 Thread Keir Bowden
I'm using tomcat 5.0.19, and I got the client authentication up and running using the information on the Tomcat site. I've never tried it on tomcat 4.0, I'm afraid. I had too many problems using SSL + tomcat on that version so I moved to the latest at that time. moneyline telerate Keir Bowden D

Re[2]: HTTPs with Axis

2004-08-27 Thread Daniel Sánchez Gómez
Hi, I've read the link, KB> http://www.pankaj-k.net/WSOverSSL/WSOverSSL-HOWTO.html in his reporte he mentions: [...] >Tomcat 4.0.1 doesn't seem to support client authentication. I did not find any >attribute of element Factory to specify the truststore and its password. A truststore >is needed

Re: HTTPs with Axis

2004-08-27 Thread Praveen Udawat
Title: Message (B (B (BHere are some more links about (Busing SSL with Axis (B  (Bhttp://www.informit.com/articles/article.asp?p=24604 (B  (Bhttp://www.fawcette.com/javapro/2003_09/online/jclune_09_10_03/ (B  (Bhttp://www.fawcette.com/javapro/2003_09/online/jclune_09_17_03/ (B  (B  (

RE: HTTPs with Axis

2004-08-27 Thread Keir Bowden
Title: Message http://www.pankaj-k.net/WSOverSSL/WSOverSSL-HOWTO.html       Keir BowdenDevelopment Consultant Telerate Winchmore House, 15 Fetter Lane, London EC4A 1BW (w) +44 (0) 207 832 9839  (e) [EMAIL PROTECTED] http://www.telerate.com"Our company name has changed to Telerate. Pl

HTTPs with Axis

2004-08-27 Thread Suzy Fynes
  Hi,   I need to secure my web services server and I’m trying to find some tutorials or guides in using HTTPs with axis. Can anyone give me any??   Thanks, Suzy

Web Service (Axis+Tomcat 5+SSL)

2004-08-27 Thread Daniel Sánchez Gómez
Hi, I'm looking for information about how to make a secure WebService. To be exact I would like use SSL in my application, but I don´t know how to configure all the necessary to do it. I have see axis and tomcat web pages, but I'm a bit confused. My first objective is that the client of my web