Re: Wrong element appearing in soap message.

2006-04-21 Thread kr
Thank you Anne! Yes your suggestion worked!

[AXIS2] WSDL2Java doesn't generate WSDL's method in stub.

2006-04-21 Thread kensky
I have tried to generate java code from wsdl2java tool. But the code it generates doesn't create a method which is specified in wsdl. My WSDL is simple enough there is a method getAllDocs() which returns array type. I dont know whats the problem, may be its a problem with wsdl or there is a bug i

RE: Operation changes in Transportation

2006-04-21 Thread david.ziebol
Ok Got it I think. WSDL2Java produced a class FoundationServicesServerServiceStub which has a method retrieveUnique (which I'm using to call the service in Axis2 on the server.) The code produced included the following lines... org.apache.axis2.client.OperationClient _oper

[Announce] XSLT Tutorial

2006-04-21 Thread Stylus Studio
[Announce]Dear Apache Axis Users, Stylus Studio has just released a new XSLT tutorial entitled: An Introduction to XSLT. You can view this free online video tutorial today at: http://www.stylusstudio.com/videos/xsltedit1/xsltedit1.html This new video tutorial teaches the following topics: * Usin

Re: Userguide Logging Module does not work

2006-04-21 Thread robert lazarski
Post your axis2.xml and maybe we can help. Posting the relevant logs by putting the logger into debug would also help track the problem down. Robert, http://www.braziloutsource.comOn 4/21/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote:Hi!That's interesting. I already tried that out but it did n

Re: Userguide Logging Module does not work

2006-04-21 Thread f . linz
Hi! That's interesting. I already tried that out but it did not work. Fabian robert lazarski wrote, On 21.04.2006 22:30: This is fixed in the latest svn - simply renaming LoggingModule.mar to logging.mar should make it to work. HTH, Robert http://www.braziloutsource.com On 4/21/06, [EMAIL P

Re: Userguide Logging Module does not work

2006-04-21 Thread robert lazarski
This is fixed in the latest svn - simply renaming LoggingModule.mar to logging.mar should make it to work. HTH, Robert http://www.braziloutsource.comOn 4/21/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote:Hi!I tried to get the logging module working as described in http://ws.apache.org/axis2/0_9

Re: help to solve an Error

2006-04-21 Thread kensky
At runtime java couldnt find the required classes, so add all the jars that are in the axis lib directory. -- View this message in context: http://www.nabble.com/help-to-solve-an-Error-t1488629.html#a4033218 Sent from the Axis - User forum at Nabble.com.

RE: Operation changes in Transportation

2006-04-21 Thread david.ziebol
Can you help resolve the "technical jargon" of "funky characters"  I didn't see anything out of the ordinary.   Dave Ziebol From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Friday, April 21, 2006 11:43 AMTo: axis-user@ws.apache.orgSubject: Re: Operation changes in Transportation I d

RE: Operation changes in Transportation

2006-04-21 Thread david.ziebol
1) Done. 2) Not Done. But I can view the outgoing and incomming messages in the debugger 3) Done Still having the same issue. The method at .execute is retrieveUnique and the method name received at the server is retrieveCollect Odd Dave Ziebol -Original Message- From: robert [mai

help to solve an Error

2006-04-21 Thread Luis Antonio Martinez Cuevas
Hi, i am trying to run a web services but i get this error   C:\Documents and Settings\lamartinez>java ClienteCalc sumar 234 23 --- --- Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/Node     at org.apache.axis.client.Service.getAxisClient

Userguide Logging Module does not work

2006-04-21 Thread f . linz
Hi! I tried to get the logging module working as described in http://ws.apache.org/axis2/0_95/userguide4.html. Unforunately it does not work. I get the following error: Invalid service MyService1.jar due to Invalid phases please recheck axis2.xml loggingPhase for the handler InFlowLogHandler I

[Axiom] Axiom 1.0 RC2 release

2006-04-21 Thread Eran Chinthaka
Hi all, We uploaded Axiom 1.0 RC2 release artifacts to following locations. Please help us by downloading and reviewing them. Download locations : * binary and source distributions - http://people.apache.org/~chinthaka/axiom/1.0-RC2/ * jars- http:

Re: problem invoking webservice

2006-04-21 Thread Anne Thomas Manes
Your schema specified elementFormDefault="qualified". 1should be1 AnneOn 4/21/06, Assaf . <[EMAIL PROTECTED]> wrote: Hi,I have a problem while invoking a test muse service I wrote.(Find attached the WSDL file of the service).As you can see in the WSDL file, the service exposes an operation 'create'

problem invoking webservice

2006-04-21 Thread Assaf .
Hi, I have a problem while invoking a test muse service I wrote. (Find attached the WSDL file of the service). As you can see in the WSDL file, the service exposes an operation 'create' which has one input argument of type string. As I am writing a client which is supposed to invoke the service,

Re: WSDL Vs Generated WSDL question

2006-04-21 Thread Lianghwa Jou
Hi, Do you know why the axis2 changed wsdl from rpc/literal to document/literal ? I put the wsdl file in META-INF but the wsdl changed when I view it from axis2 service list page. This is the Axis2SampleDocLit sample wsdl installed with axis2 0.95. Lianghwa Deepal Jayasinghe wrote: Hi

Caps and Axis2

2006-04-21 Thread Griffin, Mark
This was just mildly annoying. Using Axis2 .94 to generate the server side, it took a lower case soap:address location http://localhost:8080/axis2/services/createservicerequest"/> and turned it into http://localhost:8080/axis2/services/CreateServiceRequest"/> Axis 1.3 and webMethods however

Re: Operation changes in Transportation

2006-04-21 Thread Anne Thomas Manes
I did a copy and paste of the WSDL into a text file, and it included a couple of funky characters in the prolog. After I deleted those characters, it validated properly. On 4/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I found out that Rad 6 has a validator and the wsdl validates, So I'mno

Re: User Defined data types in Weblogic JWS

2006-04-21 Thread Anne Thomas Manes
I suggest you ask this question on a WebLogic discussion list.On 4/20/06, Nayana Hegde <[EMAIL PROTECTED] > wrote:Hi,     In wsdd file we can specify the package structure  in which the class files have to be included. For ex : entity.common.cc.db.com"/> common.cc.db.com"/>   The generated stub 

Re: Can AXIS read a WSDL object from an XML file?

2006-04-21 Thread Anne Thomas Manes
You might try XMLbeans or Castor.On 4/20/06, Holden, Robert M (Robert) <[EMAIL PROTECTED]> wrote: Since my AXIS 1.2 client also needs to read/write, using XML, several of my wsdl2java objects it seems to me the conversion capability AXIS has internally should be perfect for the job. 

Re: axis 2 & WS-Addressing problems

2006-04-21 Thread Michele Mazzucco
Hi Finian, thanks very much for your advice, but in this way I get a NullPointerException: Exception in thread "main" java.lang.NullPointerException at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:249) at org.apache.axis2.client.ServiceClient.sendRe

Re: WSDD to set up an RPC/Literal service

2006-04-21 Thread Anne Thomas Manes
.NET doesn't support RPC/Literal (although Indigo will). For best interoperability with .NET, you want to use "wrapped" document/literal. (From a programming perspective, WRAPPED is pretty much identical to RPC style). In java2wsdl, specify -yWRAPPED.In WSDD, specify style="WRAPPED".AnneOn 4/21/06,

Re: Wrong element appearing in soap message.

2006-04-21 Thread Anne Thomas Manes
One of the many known array bugs in Axis 1.2. I suggest you upgrade to Axis 1.4.On 4/20/06, akkachotu <[EMAIL PROTECTED] > wrote:I have below wsdl generated using AXIS 1.2 Final :$$ http://ws.xml.com/wsdl/GRT"   xmlns:apachesoap="

Re: [axis2] [svn] WSDL2Java produces a erroneous MessageReceiver

2006-04-21 Thread Ajith Ranabahu
Try with the latest source. this bug is fixed and I just ran the codegen successfully with the attached WSDL. On 4/21/06, Siamak Haschemi <[EMAIL PROTECTED]> wrote: > Hello. > > Using WSDL2Java with the attached WSDL file produces a not compileable > MessageReceiver. > > Too much braces. I marked

[axis2] [svn] WSDL2Java produces a erroneous MessageReceiver

2006-04-21 Thread siamak . h
Hello. Using WSDL2Java with the attached WSDL file produces a not compileable MessageReceiver. Too much braces. I marked up the lines. Here's a snipped: catch (org.apache.axis2.CareSkeleton.DeleteProductException e) { org.apache.axis2.AxisFault f =

RE: axis 2 & WS-Addressing problems

2006-04-21 Thread Finian O'Boyle
Hi Michele, This is what I found worked for me: I created a directory c:\axis2 that contained two sub-directories: "conf" which contains a copy of the Axis2 axis.xml file, and "modules" which contains a copy of addressing-0.95.mar. The code that I used was as follows: ConfigurationContext s

[axis2] [svn] WSDL2Java produces a erroneous MessageReceiver

2006-04-21 Thread Siamak Haschemi
Hello. Using WSDL2Java with the attached WSDL file produces a not compileable MessageReceiver. Too much braces. I marked up the lines. Here's a snipped: catch (org.apache.axis2.CareSkeleton.DeleteProductException e) { org.apache.axis2.AxisFault f =

Has anyone found a WAR that produces a basic UI based on the WSDL?

2006-04-21 Thread Joshua . White
Weblogic has a "test client" that generates a basic UI based on a WSDL file.  Has anyone else found something similar? Regards, Joshua * This communication, including attachments, is for the exclusive use of addressee and

Re: axis 2 & WS-Addressing problems

2006-04-21 Thread Michele Mazzucco
Unfortunately it's not because of that :( H:\workspace\Axis2Sample\bin;D:\Programs\apache-ant-1.6.5\lib\ant-launcher.jar;C:\Program Files\Java\jre1.5.0_03\lib\ext\QTJava.zip;D:\Programs\apache-ant-1.6.5\lib\ant-antlr.jar;D:\Programs\apache-ant-1.6.5\lib\ant-apache-bcel.jar;D:\Programs\apache-ant

Re: WSDD to set up an RPC/Literal service

2006-04-21 Thread Kevin O'Rourke
I was trying to do RPC/literal rather than Document/literal. Does this mean that I have to start with the WSDL and generate server stub classes from it if I want to do anything other than the default RPC/encoded? Kevin James Clinton wrote: > You define the service as Doc/Lit in the WSDL binding.

RE: WSDD to set up an RPC/Literal service

2006-04-21 Thread James Clinton
You define the service as Doc/Lit in the WSDL binding. Here is a snippet example... http://schemas.xmlsoap.org/soap/http"; />

Re: axis 2 & WS-Addressing problems

2006-04-21 Thread Michel Drescher
Ok... can you put the addressing MAR to a *different* location and then reference that new location? I want to ensure that you do not run into a problem with Tomcat locking that file. Cheers, Michel On 21 Apr 2006, at 16:18, Michele Mazzucco wrote: Sure, H:\workspace\Axis2Sample\bin;D:\

WSDD to set up an RPC/Literal service

2006-04-21 Thread Kevin O'Rourke
Hi, I'm writing a web service with Axis and am starting to get somewhere. The service will have to interoperate with .Net (specifically VB.Net), so I want to stick to WS-I Basic, which means I can't use RPC/Encoded. In fact some of the Microsoft tools complain if they come across any 'use="encode

Re: axis 2 & WS-Addressing problems

2006-04-21 Thread Michele Mazzucco
Sure, H:\workspace\Axis2Sample\bin;D:\Programs\apache-ant-1.6.5\lib\ant-launcher.jar;C:\Program Files\Java\jre1.5.0_03\lib\ext\QTJava.zip;D:\Programs\apache-ant-1.6.5\lib\ant-antlr.jar;D:\Programs\apache-ant-1.6.5\lib\ant-apache-bcel.jar;D:\Programs\apache-ant-1.6.5\lib\ant-apache-bsf.jar;D:\Pro

Re: axis 2 & WS-Addressing problems

2006-04-21 Thread Michel Drescher
Can you please post your classpath? Cheers, Michel On 21 Apr 2006, at 16:06, Michele Mazzucco wrote: Hi Michel, thanks for your reply, but unfortunately it doesn't solve the issue. Given the following code: public class AsyncEchoClient { private static String toEpr = "http://local

Re: axis 2 & WS-Addressing problems

2006-04-21 Thread Michele Mazzucco
Hi Michel, thanks for your reply, but unfortunately it doesn't solve the issue. Given the following code: public class AsyncEchoClient { private static String toEpr = "http://localhost:8080/axis2/services/ServiceClass";; public static void main(Str

RE: [Axis2] Axis2 class loader and RC1

2006-04-21 Thread Michael Robinson
Deploying the service as a directory solved most of the problems. Thanks! The jar(s) load MUCH faster now. Is it possible that the .aar file access will ever be more efficient? I do still have one problem. The project is currently using the JAXB 2.0 RI. It seems that the Axis classloader will no

Re: axis 2 & WS-Addressing problems

2006-04-21 Thread Michel Drescher
Hi Michele, the easiest thing is to put the required modules (e.g. addressing.mar) in the classpath, and create the ConfigurationContext like this: ConfigurationContext ctx = ConfigurationContextFactory.createConfigurationContextFromFileSystem ( null, null ); But beware: You MUST NOT

Re: SOAP Intermediary with Axis

2006-04-21 Thread Anne Thomas Manes
Synapse is an intermediary.On 4/21/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: Thanks Anne.. This is something very similar to what I am looking for... but given that synapse is still in its "incubator" stage.. has this problem been addressed before?   Cheers From:

Re: axis 2 & WS-Addressing problems

2006-04-21 Thread Michele Mazzucco
Hi Deepal, could you explain me what do you mean in step 1? Thanks, Michele Deepal Jayasinghe wrote: You have to engage addressing module in the client if you are trying to invoke a service using dual channel. You can do that as follows 1 Create a ConfigurationContext using a repository witc

Re: WSDL2Java error

2006-04-21 Thread Anne Thomas Manes
Note that (both wsdl and xsd) doesn't change the targetNamespace of the imported namespace (hence the rule about no namespace coercion). just gives you the ability to reference entities from the other namespace. On 4/20/06, Dies Koper <[EMAIL PROTECTED]> wrote: Hello Anne, Dink,> I'm not sure I u

RE: SOAP Intermediary with Axis

2006-04-21 Thread Rishikesh . Mallesh
Thanks Anne.. This is something very similar to what I am looking for... but given that synapse is still in its "incubator" stage.. has this problem been addressed before?   Cheers From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: 21 April 2006 14:15 To: axis-user@ws.apac

Re: SOAP Intermediary with Axis

2006-04-21 Thread Anne Thomas Manes
Try Synapse: http://incubator.apache.org/synapse/On 4/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> Use a Handler ? OK but how? Not sure exactly how this works out.   I have used handlers when they are part of the request/response flow within the ultimate receiver nod

Re: SOAP Intermediary with Axis

2006-04-21 Thread robert lazarski
Not sure I quite get what you're after yet - but there is the soap monitor that does the abstraction you seem to be looking for. It uses handlers. HTH, Robert http://www.braziloutsource.comOn 4/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> Use a Handler ? OK but how? N

RE: SOAP Intermediary with Axis

2006-04-21 Thread Rishikesh . Mallesh
>> Use a Handler ? OK but how? Not sure exactly how this works out.   I have used handlers when they are part of the request/response flow within the ultimate receiver node. But say if my intermediary is on a different network node and I want to forward all messages that come to my inte

Re: SOAP Intermediary with Axis

2006-04-21 Thread robert lazarski
Use a Handler ? HTH, Robert http://www.braziloutsource.com  On 4/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote: Hi Everyone,   I have a question regarding writing SOAP intermediaries. I wanted to write a SOAP node that sits between the sender and ultimate receiver of a SOAP m

Rational behind classes created with WSDL2Java

2006-04-21 Thread Andrew Crowe
Hi All,     I am currently implementing a client that will test a web service.  I am using Axis 1.3.  I use WSDL2Java to create the different type objects that are used with in the WSDL .  When running this however, some constructors are public, and some protected.  What is the rational behind

RE: [Axis2] Asynchronous client calls to asynchronous BPEL proces s

2006-04-21 Thread Weston, Toby
Thanks for the note Yves, I've got things working with synchronous - setting the SOAPAction (good spot) but am having trouble with asynchronous services :( BPEL seems to use "initiate" and "onResult" as the two actions, so I use "initial" to make the, er, initial call. Axis2 seems to create the W

Re: [Axis2] Axis2 class loader and RC1

2006-04-21 Thread Deepal Jayasinghe
Hi Michael; In Axis2 you can deploy service as directory as well, so please try to deploy your service as a directory. The structure of that same as and .aar file and you can have third party lib there as well. In the case of .aar case class loading can be slow due to its reading mechanism and we

RE: Strange WSDL Namespace Issue

2006-04-21 Thread Griffin, Mark
Title: Message Thanks Anne. I thought the WSDL was okay but was starting to have doubts.  I now believe the issue is being caused by two different things that are not related with the two test clients.  I believe one issue is a simple classpath problem and the other issue is a client's abili

Re: Problem with Array in parameter

2006-04-21 Thread robert lazarski
For us to be to help, you need to show the entire wsdl, and the relevant java code on both the server side and client side. Looks like you are using SOAP Encoded arrays. I recommend considering a doc / lit style instead. HTH, Robert http://www.braziloutsource.comOn 4/21/06, vincent <[EMAIL PRO

RE: [Axis2] Axis2 class loader and RC1

2006-04-21 Thread Michael Robinson
I have downloaded the axis2.0 RC1 distribution and still have a problem with the classloader being very slow and in some cases failing to find the correct class file(s).   I have a jar file of my own that contains JAXB 2.0 compiled schema objects. I have tested this jar fi

Problem with Array in parameter

2006-04-21 Thread vincent
Hi, I have a problem with array in the parameter of my webservice. For the response, there are no problem I try to receive it, but I cannot send it. The WSDL is:

SOAP Intermediary with Axis

2006-04-21 Thread Rishikesh . Mallesh
Hi Everyone,   I have a question regarding writing SOAP intermediaries. I wanted to write a SOAP node that sits between the sender and ultimate receiver of a SOAP message.   Question is how can I do this in Axis?   Cheers Rishi   ---

Re: string attribute problem

2006-04-21 Thread Recep Ayaz
HelloThanks Robert, i am starting all over.i think something is wrong but i cannot see.i will tell the result.thanks  2006/4/20, robert lazarski < [EMAIL PROTECTED]>: Seems you've used java2wsdl to create your wsdl, yet I'm seeing lots of warnings when validating it. Strange. Try to find a wsdl val

Re: [axis2] [SVN] Client fails to parse the response when Server throws a Exception

2006-04-21 Thread Siamak Haschemi
Hello again. Maybe someone could geive me a hint how to enable the Logging output of the Axiom package. Every log4.properties I doesn't work. So can you please help me to enable the outputs so I can see where the Problem lies? Thank you very much. Siamak Haschemi Siamak Haschemi schrieb:

Deployment

2006-04-21 Thread Magnus Hellström
Hello,   I’m a newbie to Axis and I have the following question: After successfully deploying the axis war on the Jboss server, how do I deploy a web service (with a wsdd descriptor) in my axis webapp without using the AdminClient tool? Is there if way manually doing this?   Thanks  

How to generate manually SOAP messagge?

2006-04-21 Thread El.by
Tanks Shanta, but i have two more question. For "style=message", you mean that i have to insert a tag style in the wsdd xml file and also in the interface for the client use the method "public void method (SOAPEnvelope Req, SOAPEnvolope resp)"? The second question is about my last phrase, if i

Re: How to generate manually SOAP messagge?

2006-04-21 Thread Shantha Kumar
Hi, Have you used style="message" for your service element. It automatically works thanks SK El.by wrote: > >Hi, > >i'm the problem to deploy my service with java classes without using the > automatic generation of Soap message, because i put in the header and >in the body some vital informat

Using static methods

2006-04-21 Thread El.by
Hi, another stupid question. On the Sun site i find that in the java classes that i want to use for Java Web Services, i cannot use certain type of methods, like static and final. For the Axis it's the same? Tanks for all, Luca. __

How to generate manually SOAP messagge?

2006-04-21 Thread El.by
Hi, i'm the problem to deploy my service with java classes without using the automatic generation of Soap message, because i put in the header and in the body some vital information for my service. While reading the official manual i find that there is the possibility to avoid totally the aut

RE: [Axis2] Asynchronous client calls to asynchronous BPEL proces s

2006-04-21 Thread Yves Langisch
Toby, I'm able to call a synchronous BPEL process (also Oracle BPEL process manager) from Axis2 without any problems. One problem I came across was that you always have to specify a SOAPAction. Oracle doesn't support incoming requests w/o SOAPAction. Since I had an already existing WSDL with opera

RE: [Axis2] Asynchronous client calls to asynchronous BPEL proces s

2006-04-21 Thread Weston, Toby
Hope you don't mind the 'bump' folks but I'd be interested in *any* comments on calling BPEL based services from Axis2. Thanks :) Weston, Toby wrote: > Hi Folks, > > Has anyone successfully made a call to a asynchronous BPEL process? > > I'm using Axis 0.95 and Oracle BPEL process manager but

AW: AW: Can you default the SOAPAction as being ""?

2006-04-21 Thread Christian Seiler
Yes, you have to, because the HttpServletRequest is an interface and it has no “setHeader()” method specified. It turned out that the only method I really had to modify was:   public String getHeader(String s)   {     String header = null;       if(HTTPConstants.HEADER_SOAP_ACTION.e