Client Side: Enable Attachment Support

2005-09-01 Thread Eduardo Elgueta
Hi All, I'm writing a SOAP WS client in which I must use attachments. As I'm using a logger, at startup I see this line: - org.apache.axis.i18n.resource::handleGetObject(attachEnabled) - Attachment support is enabled? False This is consistent with the problem I'm having -- I get a NullPointerEx

Beginer site

2005-09-01 Thread Dru Devore
I need to get some people up and running on developing web services with axis quickly and I don't have the time to teach them. Is there any suggestions of sites I can direct them to so they can do some quick learning? Thanks Dru Devore So many suggestions so little time.

RE: Web Sevice Auto Deployment

2005-09-01 Thread Feng Xie \(fxie\)
Raj:   I have never used WSAD. I used Tomcat to host Axis. Sorry, I can't explain with why this doesn't work with WSAD.   -Feng From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, September 01, 2005 3:53 PMTo: axis-user@ws.apache.orgSubject: RE: Web Sevice Auto Deployment Tha

RE: Web Sevice Auto Deployment

2005-09-01 Thread raj . x . arunmugan
Thanks Feng!   why do I get  this error ? AxisFault faultCode: {http://xml.apache.org/axis/}Client faultSubcode: faultString: No such operation 'inquiryRequest' I am able to go http://testserver:9080/WSWAR/services/DataInquiry     and it says DataInquiry Hi there, this is an AXIS serv

Web Sevice Auto Deployment

2005-09-01 Thread raj . x . arunmugan
Hello I created a simple Web Application in WSAD and deployed it successfully in my WebSphere Test Environment that comes with WSAD. I ran axis AdminClient to deploy the web service and noted that  it created server-config.wsdd  under WEB-INF/classes on my workspace         F          

Passing an Array with different Objects that have the same superclass?

2005-09-01 Thread Bell, Douglas
Title: Help! Migration from 1.0 to 1.2.1 I'm running into a issue passing an Array of Object A which contains 2 Objects Object B which extends Object A and Object C which also extends Object A.   Axis correctly tries to deserialize Object B and Object C but says there are no Deserializers re

RE: Web Sevice Auto Deployment

2005-09-01 Thread Feng Xie \(fxie\)
Raj:   I agree with your understanding about the deployment based my own experience. Baseline: while the Axis engine is not running, direct editting of server-config.wsdd will has the same effect of running ClientAdmin while the Axis engine is running.   Feng From: [EMAIL PROTECTED] [mailt

RE: Help! Migration from 1.0 to 1.2.1

2005-09-01 Thread Hoying, Ken
Title: Help! Migration from 1.0 to 1.2.1 I was able to resolve my log4j configuration issue.  Now working on the underlying issue which appears to be a classpath problem.   Thanks, Ken -Original Message-From: Hoying, Ken Sent: Thursday, September 01, 2005 1:26 PMTo: Axis List

Re: generating server-config.wsdd in a build script

2005-09-01 Thread Davanum Srinivas
"java org.apache.axis.utils.Admin -server deploy.wdd" (no need to start server) On 9/1/05, Anthony Fox <[EMAIL PROTECTED]> wrote: > Is there a way to generate a server-config.wsdd, possibly from a > template, that includes multiple webservices from within a build > script? The only solution I see

generating server-config.wsdd in a build script

2005-09-01 Thread Anthony Fox
Is there a way to generate a server-config.wsdd, possibly from a template, that includes multiple webservices from within a build script? The only solution I see so far is to start a SimpleAxisServer, then run the AdminClient against that server, and save the server-config.wsdd that is generated.

NTLM authentification failed with large data

2005-09-01 Thread Peter Kesch
Hi *, i have a little problem using axis to access an webservice with integrated authentification. We try to access a .NET WebServices with a java client by using axis. This works fine until the authentification on the IIS is turned on. After activating the NTLM authentification we can only ac

Re: How to put wsdl file inside aar archive

2005-09-01 Thread Gordon Gekko
Hi! You should put it in the META-INF directory and rename it sevice.wsdl. Cheers, Diego Fedorov Vladimir wrote: Hello! As I understand axis2 doesn't generate wsdl file for the web-service to expose: http://marc.theaimsgroup.com/?l=axis-user&m=112490757512845&w=2 But if I want to do it, w

Axis1.2 generates incorrect wsdl

2005-09-01 Thread Fedorov Vladimir
Hello, I'm trying to use Apache Axis toolkit to implement a web-service (from the JBuilder IDE). The problem is when I try to expose the web-service the WSDL generated doesn't meet the specification: The < extension > tag doesn't have "base" attribute. For example:

How to put wsdl file inside aar archive

2005-09-01 Thread Fedorov Vladimir
Hello! As I understand axis2 doesn't generate wsdl file for the web-service to expose: http://marc.theaimsgroup.com/?l=axis-user&m=112490757512845&w=2 But if I want to do it, where should I put my wsdl file in the aar archive? I tried to put it in all the folders inside the aar archive, but the s

Help! Migration from 1.0 to 1.2.1

2005-09-01 Thread Hoying, Ken
Title: Help! Migration from 1.0 to 1.2.1 I am having a devil of a time with migrating from Axis 1.0 to 1.2.1. I am getting a java.lang.reflect.InvocationTargetException.  Something must also be wrong with the log4j configuration because I get no stack trace or info at all.  This is making

RE: which Handler interface to implement ? in order to write a user defined handler to log SOAP request ?

2005-09-01 Thread Feng Xie \(fxie\)
Tony:   Thanks for your help. I didn't search through my mail folder for your previous response before I sent out the 2nd with more information I got through debugger.   Finally, it works through a class extending  org.apache.axis.handlers.JAXRPCHandler. I guess it should work too by extendi

Re: java.lang.reflect.InvocationTargetException

2005-09-01 Thread Guy Rixon
On Thu, 1 Sep 2005, A Yang wrote: > Deserialization of the message payload? Yes, either in the service or in the client when the response comes back. > How important are the contents of the SOAP Envelope and Header? i.e., > does the first child element in the body have to have the same name as >

Re: java.lang.reflect.InvocationTargetException

2005-09-01 Thread A Yang
Deserialization of the message payload? How important are the contents of the SOAP Envelope and Header? i.e., does the first child element in the body have to have the same name as the method I wish to invoke? And do I have to keep the namespace in synch with my implementation somehow? I've just

[Axis2] Setting HTTPOutTransportInfo !?!

2005-09-01 Thread jayachandra
Hi there!   Any insight about the following error when trying to invoke a deployed service.   org.apache.axis2.AxisFault: HTTPOutTransportInfo does not set org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:145) org.apache.axis2.engine.AxisEngine.send

Deploying axis over Sun ONE 8

2005-09-01 Thread Sandeep Gaikwad
Hi,     I am trying to install axis engine over Sun ONE 8.   I had changed my server.policy by adding following code       grant codeBase "file:C:/Sun/AppServer/domains/domain1/applications/j2ee-  modules/axis/WEB-INF/lib/-"  {     permission java.lang.RuntimePermission "getClas

creating a wsdl file

2005-09-01 Thread Plorks mail
hi all i'm doing the above can someone tell me where i specify a. an xsd file b. that it is use document / literal style thanks for your help _ Want to block unwanted pop-ups? Download the free MSN Toolbar now! http://toolb

WSDL output by elements

2005-09-01 Thread Andrej Taranenko
Hi, I'm trying to output a wsdl file by it's elements, but cannot get it to work... here is my code: begin code- XMLStreamReader parser = XMLInputFactory.newInstance().createXMLStreamReader( new FileReader("Servi

RE: Extracting Operation Name from a SOAP envelope

2005-09-01 Thread Guy Rixon
On Thu, 1 Sep 2005, Chris Nappin wrote: > > However, I had in mind an intermediate case. Suppose you have a > service > > with multiple operations in doc-lit style-usage. I think you are then > > required to make each operation take and/or return a different type of > > document s.t. the operation

RE: Extracting Operation Name from a SOAP envelope

2005-09-01 Thread Chris Nappin
> You mean the "wrapped" style, presumably, where there's a convention that > the document element matches the operation name in the WSDL. Yes, that's a > Microsoft idea and normal in .NET... Yep, and this should not be confused with the "wrapped" parameter mode, in which your web service toolkit

AW: Managing multiple sessions from same client

2005-09-01 Thread Dorner, Thomas
You can use SessionHandler to put and get the sessionID in the SOAPHeader But you have to manage your session on your own at serverside Thomas Dorner Systementwickler T-Systems International GmbH Service Line Systems Integration BC EPDM/D Design & Prototype Data Management Fasanenweg 5, D

RE: Extracting Operation Name from a SOAP envelope

2005-09-01 Thread Guy Rixon
On Thu, 1 Sep 2005, Chris Nappin wrote: > > > I think in document/literal document types are supposed to map > one-to-one > with messages so a service can infer the operation from the > document type. > > Many web service toolkits (.Net, JWSDP, etc) appear to use this > convention, although I've n

AW: How to setup session timout in axis?

2005-09-01 Thread Dorner, Thomas
I think you should set the Timeout for the HttpSession in Tomcat for example Thomas Dorner Systementwickler T-Systems International GmbH Service Line Systems Integration BC EPDM/D Design & Prototype Data Management Fasanenweg 5, D-70771 Leinfelden-Echterdingen Tel.:+49/711 972 -

RE: Extracting Operation Name from a SOAP envelope

2005-09-01 Thread Chris Nappin
> I think in document/literal document types are supposed to map one-to-one > with messages so a service can infer the operation from the document type. Many web service toolkits (.Net, JWSDP, etc) appear to use this convention, although I've never seen it formally defined in a standard anywhere.

IllegalStateException: "getAttribute": Session already expired

2005-09-01 Thread Nicolas De Loof
Hello, from a Tomcat server runing Axis 1.2.1 I get stack trace : java.lang.IllegalStateException: "getAttribute": Session déjà invalidée at org.apache.catalina.session.StandardSession.getAttribute(StandardSession.java:953) at org.apache.catalina.session.StandardSessionFacade.getAttribut

Re: Extracting Operation Name from a SOAP envelope

2005-09-01 Thread Guy Rixon
On Thu, 1 Sep 2005, jayachandra wrote: > Supposing I've to extract the operation name from a SOAP Envelope I got into > my code, can I safely assume that for all styles and uses (doc-lit, rpc-enc) > the first child element of body has its localPart as the operation Name, or > are there any hitches

Re: java.lang.reflect.InvocationTargetException

2005-09-01 Thread Guy Rixon
On Wed, 31 Aug 2005, A Yang wrote: > What does the InvocationTargetException usually indicate? It usually means a failure in deserialization. Guy Rixon [EMAIL PROTECTED] Institute of Astronomy Tel: +44-1223-337542 Madingley Road, Cam

Extracting Operation Name from a SOAP envelope

2005-09-01 Thread jayachandra
Hi there! Supposing I've to extract the operation name from a SOAP Envelope I got into my code, can I safely assume that for all styles and uses (doc-lit, rpc-enc) the first child element of body has its localPart as the operation Name, or are there any hitches in making that decision Thanks in ad