RE: Problem with MustUnderstand headers when migrating from axis 1.1 to 1.3

2006-02-21 Thread sajith
Hi Dies, As you suggested I debugged both axis 1.1 and 1.3 it seems Axis 1.1 does not handle "mustUnderstand", where as axis 1.3 provides a handle implementation called "MustUnderstandChecker". This is the place where the error is generated. So either I could make changes to this class or I coul

Re: Problem with MustUnderstand headers when migrating from axis 1.1 to 1.3

2006-02-21 Thread Dies Koper
Hello Sajith, The stub seems to generate a Fault when it receives a SOAP message with a header with a mustUnderstand="1" attribute. I thought this was according to the spec, as the Axis generated stub does not understand your header. However, I believe some months ago there was some debate on t

Re: WS works, but cannot view WSDL

2006-02-21 Thread Yu-Hui Jin
How do we do it in Axis2? regards,-HuiOn 2/21/06, Shaoguang Cong <[EMAIL PROTECTED] > wrote:Assume vmr is a directory under your webapp root.  Try specify the tag as  vmr/VMRService.wsdl By this way you can view the WSDL in the browser or via the Axis servlet (the ?wsdl url).   Shaoguang  A

Problem with MustUnderstand headers when migrating from axis 1.1 to 1.3

2006-02-21 Thread sajith
Hi,   I’m migrating from axis 1.1 to 1.3. My webservice client fails when invoking the method with following axis error. I tested the same code with axis 1.1 and it works fine.     Axis fault   Exception in thread "main" AxisFault  faultCode: {http://schemas.xmlsoap.org/soap/envelo

Re: Retrieve Web Service name in Axis2

2006-02-21 Thread Deepal Jayasinghe
Hi Yariel; Name of the service will be the name of the archive file if the services.xml has only one service element meaning if the services.xml look like below // service data In the case of servicegroup name of the service will be the name that you specified in services.xml as an exa

Re: Axis 1.3 asynchron messages

2006-02-21 Thread Ken Hu
My approach is to use jms instead of http. It works. Ken 於 二,2006-02-21 於 15:16 +0100,Stephan Herzog 提到: > > Hello, > > I use Axis 1.3 and already have a lot of WS but only with synchronous > message-exchange. Is it possible to have also asynchronous WS in Axis > 1.3? > > Thanks a lot, STEV

RE: Doc/literal Wrapped

2006-02-21 Thread Griffin, Mark
Title: Message Yep i'm trying, just thought i would give the axis folks a try. more responsive. :)  Thanks.   markg -Original Message-From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 21, 2006 7:14 PMTo: axis-user@ws.apache.orgSubject: Re: Doc/lit

Re: Doc/literal Wrapped

2006-02-21 Thread Anne Thomas Manes
Talk to the folks at Eclipse...On 2/21/06, Griffin, Mark <[EMAIL PROTECTED]> wrote: Agreed but Eclipse is not supporting that although Axis is. Kind of strange since they are using Axis.   markg -Original Message-From: Anne Thomas Manes [mailto:[EMAIL PROTECTED]] Sent: Tuesd

Re: AXIS error: makeTypeElement()

2006-02-21 Thread Anne Thomas Manes
The WSDL validates and looks correct. But it could be that you're experiencing one of Axis 1.2's many bugs related to arrays. I suggest that you define the "sheet" type as a named type (rather than as an anonymous type) and see if that makes a difference. e.g.,              

RE: Doc/literal Wrapped

2006-02-21 Thread Griffin, Mark
Title: Message Agreed but Eclipse is not supporting that although Axis is. Kind of strange since they are using Axis.   markg -Original Message-From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 21, 2006 6:59 PMTo: axis-user@ws.apache.orgSubject: Re:

Re: Sending XML in web services

2006-02-21 Thread Anne Thomas Manes
It's the Axis Messaging API (an alternative to JAXM).Axis 2 lets you manipulate the message using StAX -- not just DOM.AnneOn 2/21/06, robert <[EMAIL PROTECTED]> wrote: Em Terça 21 Fevereiro 2006 10:36, o Anne Thomas Manes escreveu:> That's a really ugly approach if that's the entire content of yo

Re: Doc/literal Wrapped

2006-02-21 Thread Anne Thomas Manes
In the wrapped convention, the message input element local name must be the same as the operation name (element="ns:"). It doesn't matter what you call the input message. Most people name the input message "Request". AnneOn 2/21/06, Griffin, Mark <[EMAIL PROTECTED]> wrote: A follow-up to this.  Cha

Custom factories on a per-call basis?

2006-02-21 Thread Mark Ziesemer
I'm looking for the best way to use custom factories on a per-call basis. For example, I want to set axis.socketSecureFactory to use a provider with a custom SSLContext to deal with untrusted server-side certificates, etc. The only way I can see to do this is to call AxisProperties.setPropert

Re: Deploying services through webapps

2006-02-21 Thread Pedro Silva
Hello, I finally solved the problem! I was using the wrong URL in setTargetEndpointAddress .. In my first code I was using : URL url = new URL ("http://localhost:8080/Teste/services/Teste";); admClient.setTargetEndpointAddress(url); After some thinking :-) I changed it to: URL("http://localhos

Re: WS works, but cannot view WSDL

2006-02-21 Thread Shaoguang Cong
Assume vmr is a directory under your webapp root.  Try specify the tag as  vmr/VMRService.wsdl By this way you can view the WSDL in the browser or via the Axis servlet (the ?wsdl url).   Shaoguang  Anne Thomas Manes <[EMAIL PROTECTED]> wrote: Right -- that's because the WSDL is at the URL yo

best web-server for jsp and axis

2006-02-21 Thread Carmine Gargiulo
Hi guys, i'm using apache tomcat (latest release) for building my business application. My question is: apache tomcat is a good idea for business web application? Also i'm using jsp pages and axis for web-services. Other possible web-servers? Please...help me -- Email.it, the professional e

Re: again return Long value

2006-02-21 Thread Tomáš Procházka
Hi. I switch sendMultiRefs in server-config.wsdd to false and Axis right return boolean value. -- Original message -- From: Tomáš Procházka <[EMAIL PROTECTED]> Subject: again return Long value Date: Monday, February 20, 2006,

RE: Can SOAPMonitor be used to sniff http requests/responses on c lien t side?

2006-02-21 Thread Pantvaidya, Vishwajit
Thanks - I tried tcpmon and was able to see request/responses in it when sending unzipped request messages. But after enabling request message compression using the Apache CommonsHttpSender class, tcpmon shows the compressed request, but no response comes back from the service. For the zipped reque

Inconsistent behavior of Java v. WSDL

2006-02-21 Thread Greg Michalopoulos
My WSDL, relevant portions below, defines an object with a set of objects called , i.e.: ... But when Axis returns XML from a web service call, the XML is in this format: ... Any idea why that may occur? Thanks, Greg

how to switch the jre within axis?

2006-02-21 Thread Dr. Exner
Hi,   I freshly installed Axis 1.3 within a Tomcat stand alone test environment on XP and with the support of the tomcat users list the "happy axis" page is ok now. But while following the "Call" link at the Axis start page (http://localhost/axis/) or calling test .jws files with the browse

RE: Doc/literal Wrapped

2006-02-21 Thread Griffin, Mark
A follow-up to this. Changing the Operation name to something other than the Input message name fixes the problem of the beans not being generated in Eclipse. I don't think this is the way it should work. My understanding of Doc/literal wrapped is that the operation name and the input message shou

Retrieve Web Service name in Axis2

2006-02-21 Thread Yariel Ramos Moreno
How can I retrieve the name of a Web Service deployed in Axis2 sever in runtime? I mean, when the service is invoked, I need to get the name of it from inside it in my code. Thanks in advance, Yariel.

Crash at the server startup when using a pull parser in a WS method

2006-02-21 Thread Pascal Dayre
Hi, when I create an instance of a XStream of " xpp3" Xml Pull Parser (http://www.extreme.indiana.edu/xgws/xsoap/xpp/) in a method of a webservice, I get the following error (see the trace below) at server startup!! Any idea? Is it possible to use stream and pull parser in a WS method? T

axis on Sun Application Server 8.2

2006-02-21 Thread Gedas A
Hello,I deployed axis 1.3 on Sun App Server 8.2. I granted the following permissions in order to get it running:==grant {    permission java.lang.RuntimePermission "getClassLoader";     permission java.lang.RuntimePermission "createClassLoader";    permission java.net.SocketPermissi

Axis 1.3 asynchron messages

2006-02-21 Thread Stephan Herzog
Hello, I use Axis 1.3 and already have a lot of WS but only with synchronous message-exchange. Is it possible to have also asynchronous WS in Axis 1.3? Thanks a lot, STEVE

Re: Sending XML in web services

2006-02-21 Thread robert
Em Terça 21 Fevereiro 2006 10:36, o Anne Thomas Manes escreveu: > That's a really ugly approach if that's the entire content of your message > -- it destroys the ability of the SOAP processing model to efficiently > process the data. (Particularly important when using handlers or > intermediaries.)

RE: AXIS error: makeTypeElement()

2006-02-21 Thread Harbarth, Juliane
    Hi Anne (and others),   WSDL is attached.   Thanks & regards, Juliane.   From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Dienstag, 21. Februar 2006 14:54To: axis-user@ws.apache.orgSubject: Re: AXIS error: makeTypeElement() Please provide the entire WSDL. On 2/21/06, Harbarth

Re: Developing webservices with Apache Axis - Recommend good books

2006-02-21 Thread Santunu Podder
Hi, Could any one please let me know where is the best place to get some information on various strategies of recieving XML message as an input to a web service. If you can recommend me a book, it will be highly useful. Thanks, Santunu Santunu Podder <[EMAIL PROTECTED]> 21/02/2006 13:40

Re: AXIS error: makeTypeElement()

2006-02-21 Thread Anne Thomas Manes
Please provide the entire WSDL.On 2/21/06, Harbarth, Juliane <[EMAIL PROTECTED]> wrote: Hi,I am running Axis 1.2 and keep getting the following error when deploying a service:Fault - makeTypeElement() was told to create a type"{http://cookbook}>>>result>sheets>sheet", with no containing elementAxis

Developing webservices with Apache Axis - Recommend good books

2006-02-21 Thread Santunu Podder
Hi all, I am new to Apache Axis and would require some advice to start. I have already gone through the documentation that comes along with the installation. Could anyone recommend me a good book which can be useful for developing web services using Apache Axis. I want to provide a web service

Re: Sending XML in web services

2006-02-21 Thread Anne Thomas Manes
That's a really ugly approach if that's the entire content of your message -- it destroys the ability of the SOAP processing model to efficiently process the data. (Particularly important when using handlers or intermediaries.) If the XML is in memory as a DOM, then you should simply refer to the X

Doc/literal Wrapped

2006-02-21 Thread Griffin, Mark
Has anyone run into issues with doc/literal wrapped using Eclipse 3.1 with the new WTP 1.0 toolset. It uses Axis which supports doc/literal wrapped but for some reason it doesn't seem to work within the tool. It works fine from the command line using Axis 1.3. Basically its not generating the bea

Re: Sending XML in web services

2006-02-21 Thread robert
What I've done a lot is simply convert a Document to a String and just send that as a parameter. In axis 1.x that would be like: String out_xml = (String) call.invoke( new Object[] { in_xml } ); That will put an element in to your soap body containing the xml string. HTH, Robert http://www.

Re: MessageInformationHeaderRequired

2006-02-21 Thread Ulf Dittmer
In cases where you doubt what gets sent over the wire, the TCPMon utility that comes with Axis is very handy. It will show you the SOAP data of the request and response. Cheers, Ulf > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hello, > > I'm trying to use the WSS4J to create signature. >

MessageInformationHeaderRequired

2006-02-21 Thread Reynir Hubner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I'm trying to use the WSS4J to create signature. Currently I get the following error messages. I've tried several things to get this to work, but this error is always on top. I'm using axis 1.3,with current release of Wss4j. Can anyone point m

[axis2 v0.93] client timeout setting

2006-02-21 Thread Diego
Hi everybody! I'm using Axis2 v0.93 and I'm implementing a client that has to execute a web service that can take up to 5 minutes. Since the default timeout is set to 2000 ms I usually get the following exception: java.net.SocketTimeoutException: Read timed out. I've read some previous mess

AXIS error: makeTypeElement()

2006-02-21 Thread Harbarth, Juliane
Hi, I am running Axis 1.2 and keep getting the following error when deploying a service: Fault - makeTypeElement() was told to create a type "{http://cookbook}>>>result>sheets>sheet", with no containing element AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalExce