[Axis2] RE: Client-within-server problems

2006-04-26 Thread Marshall, John
Finally solved my own problem, the system at the other end was not a proper Web Service and wasn't actually running anything resembling the WSDL I'd been given. It was more of an HTTP listener that someone had set up to monitor the traffic. I created a dummy web service to simulate the other end a

generate WSDL with implicit headers

2006-04-26 Thread Stanley Stanev
Hello all, I am trying to find out, is it possible to use Axis to generate a WSDL that includes implicit headers? thanks a lot -- Stanimir Stanev (Stanley) Senior Java Developer www.stanev.com

Re: Axis 1.3 on port 80 (not 8080)

2006-04-26 Thread Simon McMahon
Thanks!   I found the details on: http://tomcat.apache.org/tomcat-3.3-doc/mod_jk-howto.html   Just needed the extra     JkMount /axis/services/* ... in the conf/httpd.conf and away it went.   Cheers,   Simon.   Simon McMahon   Work: (07) 31311420Mobile: (043) 2294180>>> [EMAIL PROTECTED] 04/24/

Re: [axis2] services.xml problems

2006-04-26 Thread Deepal Jayasinghe
Hi Michele; I found the problem, each service element in a servicegroup have to have name attribute so if you apply my changes it will work Michele Mazzucco wrote: >Hi all, > >I'm using Axis2 1.0 RC2 and I'm having troubles with services.xml when I >include more that one service. > >In particula

Re: CalClient problem: Classpath

2006-04-26 Thread Deepal Jayasinghe
Hi Kensky; This is Axis1 sampple not an Axis2 sample , so Axis1 does not support .aar based deployemnt , so it will not help that if you drop .aar file into classpath. But if you put .jar file it may work (btw I am not the right person to answer Axis1 q :) ) Kensky Schulz wrote: > You have to

WSDD: Would service level config override ?

2006-04-26 Thread ajax chelsea
Hi all:I want to know whether Individual Service Configuration can override the ? for example:... sendMultiRefs" value="true"/>...then sendMultiRefs" value="false"/> Will it work? Thanks.

Re: help on java2wsdl and parameter types

2006-04-26 Thread Dies Koper
Hello Mati, Use the option -u LITERAL. As far as I understood, the SOAP spec was being written when the XMLSchema spec was not finished yet. The SOAP spec defines a way to describe data types, so does the XMLSchema. Java2WSDL uses ENCODED (SOAP encoding) by default, but you can change it to u

Re: WSDL2Java variable name syntax error

2006-04-26 Thread Dies Koper
Hi, Why do you want them to be uppercase? Axis makes the first letter lowercase in line with the rules for mapping XML names to Java described in the appendix (chapter 20) of the JAX-RPC 1.1 spec. The generated class is a Javabean, so either way you can use the generated getter/setter methods

Odd error in Stub when getting ConfigurationContext

2006-04-26 Thread david.ziebol
Hi all, When I run my service local (localhost) this is not a problem. But allas, I'm trying to run the service on a non-local box. IN the Stub generated from WSDL2Java there is a constructor as such: (note I added some try-catch blocks) public FoundationServicesServerServiceStub(org.a

RE: ws-addressing version support

2006-04-26 Thread Weston, Toby
Eran Chinthaka wrote: >> Hi Folks, >> >> The feature list of Axis2 states support for; >> >> - 9. WS-Addressing, both the submission (2004/08) and final >> (2005/08) versions >> >> Does this mean that the 2003/03 isn't supported? I ask because Oracle >> BPEL PM it seems only supports 2003/03...

Re: java.io.InterruptedIOException: Read timed out - HELP!

2006-04-26 Thread Srinadh Karumuri
Problem resolved as usual after I posted. :) After downloading and checking the source code I realized the following: In axis-1_3, correct name of the property is "axis.connection.timeout" not "axis.connect.timeout" as I used. I am using axis-1_1 and call.setTimeout(...) is the right way for

java.io.InterruptedIOException: Read timed out - HELP!

2006-04-26 Thread Srinadh Karumuri
I was a happy axis-1_1 user on both client and server for about a year when we had to move to a slower server. Now I get the timed out exception everyday in the morning and I am trying to figure out a way to increase the current timeout (probably at 60 seconds) to something like 180 secs. He

Problem with remote admin (Axis 1.3)

2006-04-26 Thread Fábio Lima Santos
Hy, I am using Axis 1.3 and 'm deploying my webservice with a WSDD... when I deploy it using the Axis Ant tasks from localhost it works fine... Then I defined the parameter enableRemoteAdmin to "true" on the server-config.wsdd like below: I did the deploy remotelly and its ok, and when I ac

URGENT - javax.net.ssl.SSLHandshakeException: Received fatal alert: bad_certificate

2006-04-26 Thread Sara Santos
Hello, I'm trying to make Client Side Authentication using Axis 1.3. I have a successfully deployed Web Service requiring authentication and I can view the wsdl in my browser by choosing a trusted certificate. So my problem is when I try to invoke a client in command line from a remote machine I ge

WSDL2Java variable name syntax error

2006-04-26 Thread Recep Ayaz
Hello,i have problem with WSDL2Java . in my WSDL, first character of xml element's names are title case but generated classes variables are lower cases.How can handle that problem ?for example my wsdl file and java class are below: **http://schemas.xmlsoap.org/wsdl/"    xmlns:so

Re: ws-addressing version support

2006-04-26 Thread Eran Chinthaka
Weston, Toby wrote: > Hi Folks, > > The feature list of Axis2 states support for; > > - 9. WS-Addressing, both the submission (2004/08) and final (2005/08) > versions > > Does this mean that the 2003/03 isn't supported? I ask because Oracle BPEL > PM it seems only supports 2003/03... Nope. 200

RE: [axis2] SwA example

2006-04-26 Thread Michael Robinson
Thanks for your help. I just downloaded Axis2 RC3 and now have org.apache.axiom.attachments.Attachments. Before I was using RC1 and could not find this class. Thanks again. -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 26, 2006 1:07 PM To:

Re: [axis2] SwA example

2006-04-26 Thread Davanum Srinivas
It will return org.apache.axiom.attachments.Attachments. See the test case: http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/swa/ thanks, dims On 4/26/06, Michael Robinson <[EMAIL PROTECTED]> wrote: > Ok, thanks for the MTOMConstants class r

Re: [Axis2][1.0RC3] Unable to locate with a locator the schema referenced at 'xsd1.xsd' ...

2006-04-26 Thread Ali Sadik Kumlali
Here it is: http://issues.apache.org/jira/browse/AXIS2-623 Thanks, Ali Sadik Kumlali --- Davanum Srinivas <[EMAIL PROTECTED]> wrote: > Ali, > > Could u please open a JIRA issue and upload your wsdl/schemas? that > you used to generate the service. > > thanks, > dims > > On 4/26/06, Ali Sadik

RE: [axis2] SwA example

2006-04-26 Thread Michael Robinson
Ok, thanks for the MTOMConstants class reference. Is the Attachments object that you created just an example or is that also a part of some API? I am a little confused about what exactly will be returned from the msgcts.getProperty(MTOMConstants.ATTACHMENTS). -Original Message- From: Da

Re: [axis2] SwA example

2006-04-26 Thread Davanum Srinivas
Attachments attachment = (Attachments) msgcts.getProperty(MTOMConstants.ATTACHMENTS); thanks, dims On 4/26/06, Michael Robinson <[EMAIL PROTECTED]> wrote: > > > > I'm attempting to process a request from a SwA client using Axis2 but am > having some problems with the sample at > > > > htt

[axis2] SwA example

2006-04-26 Thread Michael Robinson
I’m attempting to process a request from a SwA client using Axis2 but am having some problems with the sample at   http://ws.apache.org/axis2/0_95/mtom-guide.html#3   MIMEHelper attachments = (MIMEHelper)msgcts.getProperty(MIMEHelper.ATTACHMENTS);   MIMEHelper.A

Re: [axis2] services.xml problems

2006-04-26 Thread Michele Mazzucco
Robert, please see my comments inline. robert lazarski wrote: > Hmm, not enough to go on here I don't think - I can't find that message > anywhere in the axis2 source. You'll need to turn on logging then - put > the server in debug mode via WEB-INF/classes/log4j.properties . Post the > relevant l

minoccurs/maxoccurs in wsdl?

2006-04-26 Thread Santunu Podder
Hi Everybody, Is there a way to specify minOccurs / maxOccurs for elements in the wsdl when we generate the wsdl from java using Java2WSDL? Regards, Santunu This message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the se

ws-addressing version support

2006-04-26 Thread Weston, Toby
Hi Folks, The feature list of Axis2 states support for; - 9. WS-Addressing, both the submission (2004/08) and final (2005/08) versions Does this mean that the 2003/03 isn't supported? I ask because Oracle BPEL PM it seems only supports 2003/03... How do you configure which to use? Thanks in a

Re: [axis2] services.xml problems

2006-04-26 Thread robert lazarski
Hmm, not enough to go on here I don't think - I can't find that message anywhere in the axis2 source. You'll need to turn on logging then - put the server in debug mode via WEB-INF/classes/log4j.properties . Post the relevant logs and maybe we can help. Also, try reading this article - it might h

RE: Axis2: WSS4J - problem getting client to use my axis2.xml

2006-04-26 Thread bruno (wanadoo)
hi rob yes you can download this distro (and the axis2-1.0RC3 too) use these links   Download locations : * binary and source distributions - http://people.apache.org/~deepal/axis2/ * jars http://people.apache.org/~deepal/maven/ws/axis2/jars/ * mars (addressing and security) http://people.apac

Re: [Axis2][1.0RC3] Unable to locate with a locator the schema referenced at 'xsd1.xsd' ...

2006-04-26 Thread Davanum Srinivas
Ali, Could u please open a JIRA issue and upload your wsdl/schemas? that you used to generate the service. thanks, dims On 4/26/06, Ali Sadik Kumlali <[EMAIL PROTECTED]> wrote: > Hi Ajith, > > Thanks for the quick response. If I didn't miss something, the latest > code in SVN causes the same err

Re: [Axis2][1.0RC3] Maven Build fails coz project.properties still re fers to AXIOM 1.0-RC2

2006-04-26 Thread Davanum Srinivas
:) Yes, please. thanks, dims On 4/26/06, Pannetier Alain <[EMAIL PROTECTED]> wrote: > > > > RC3 feedback : (Can't keep up ;-) > > JiBX compilation fails with javac unable to find new (RC3) Axiom interface > named org.apache.axiom.om.OMDataSource > > To fix, just edit etc/project.properties to rea

[Axis2][1.0RC3] Maven Build fails coz project.properties still re fers to AXIOM 1.0-RC2

2006-04-26 Thread Pannetier Alain
Title: [Axis2][1.0RC3] Maven Build fails coz project.properties still refers to AXIOM 1.0-RC2 RC3 feedback : (Can't keep up ;-) JiBX compilation fails with javac unable to find new (RC3) Axiom interface named org.apache.axiom.om.OMDataSource To fix, just edit etc/project.properties to rea

Re: Axis2: WSS4J - problem getting client to use my axis2.xml

2006-04-26 Thread Rob Henley
Hi Jack - I read that too but it never occurred to me to repeat the whole path. When I do this I get the 'nullpointer' error, so as bruno says there is probably also an axis2 bug in the 0.95 release. Hopefully with your syntax and a later build it will all work :-) Many thanks Rob - Origina

Re: [axis2] services.xml problems

2006-04-26 Thread Michele Mazzucco
Robert, it just says "Requested resource not found!", but the jar file is complete of all necessary files (services.xml in META-INF and class files in stock/service). Michele robert lazarski wrote: > Try clicking on the faulty service and posting the stack trace, maybe > that'll help us track d

SOAP XML Message from WSDL

2006-04-26 Thread Saqib Rasul
Hi, Is there any way to get the SOAP/XML Structur from a WSDL. For example, given a WSDL, i could speficy the operation in the WSDL, and i would like to know the XML Structure that will be passed back and forth. Is there any way in AXIS to do this? And if not, does anyone know a library that can h

Re: Axis2: WSS4J - problem getting client to use my axis2.xml

2006-04-26 Thread Rob Henley
Thanks - thats useful. Is 'axis2RC2' a binary distribution which I can download? Cheers Rob - Original Message - From: bruno (wanadoo) To: axis-user@ws.apache.org Sent: Wednesday, April 26, 2006 2:46 PM Subject: RE: Axis2: WSS4J - problem getting client to use

RE: Axis2: WSS4J - problem getting client to use my axis2.xml

2006-04-26 Thread bruno (wanadoo)
Hi reobert   This problem is solved in axis2RC2 or in latest SVN De : Rob Henley [mailto:[EMAIL PROTECTED] Envoyé : mercredi 26 avril 2006 15:08À : axis-user@ws.apache.orgObjet : Axis2: WSS4J - problem getting client to use my axis2.xml I'm using the 0.95 binary release on Windows XP, p

Re: Axis2: WSS4J - problem getting client to use my axis2.xml

2006-04-26 Thread Jack
I think you need to do this javadoc says "you are not allowed to give one relative to other" so: String X = "E:\\jboss-4.0.3SP1\\server\\axistest\\deploy\\axis2.war\\WEB-INF"; String Y = "E:\\jboss-4.0.3SP1\\server\\axistest\\deploy\\axis2.war\\WEB-INF\\conf\\axis2.xml"; configContext = Confi

Re: [Axis2][1.0RC3] Unable to locate with a locator the schema referenced at 'xsd1.xsd' ...

2006-04-26 Thread Ali Sadik Kumlali
Hi Ajith, Thanks for the quick response. If I didn't miss something, the latest code in SVN causes the same error. Here are what I did: 1) Ran "svn update" 2) Ran "maven clean jar -Dmaven.test.skip=true" 3) Ran "maven dist-std-bin" 4) Generated code from the axis2-std-SNAPSHOT-bin.zip 5) Produced

Re: [axis2] services.xml problems

2006-04-26 Thread robert lazarski
Try clicking on the faulty service and posting the stack trace, maybe that'll help us track down the problem. Robert http://www.braziloutsource.com/On 4/26/06, Michele Mazzucco < [EMAIL PROTECTED]> wrote:Hi all,I'm using Axis2 1.0 RC2 and I'm having troubles with services.xml when Iinclude more

Axis2: WSS4J - problem getting client to use my axis2.xml

2006-04-26 Thread Rob Henley
I'm using the 0.95 binary release on Windows XP, plus the separately downloaded security sample.   Some stuff appeared to be missing from the distribution. I downloaded security-0.95.mar separately via the 'Modules' link and copied under my axis2\WEB-INF\modules, and also got a copy of xalan

Re: [Axis2] Re: User manual for Axis2 v 0.95 - Problems with "Invoking a service using a mail"

2006-04-26 Thread Jack
Ho Chamil, Ok let me see if I have this right now. To use a generic mail server (and only perform one way communication - ie the client sends a message to the service, which then performs some back end processing) I need to: 1. have an email account where the messages are sent to (and the service

Re: [Axis2][1.0RC3] Unable to locate with a locator the schema referenced at 'xsd1.xsd' ...

2006-04-26 Thread Ajith Ranabahu
Hi, We actually found this bug and fixed it. It was caused by the addition of a new capability, loading relative schemas through the aar file On 4/26/06, Ali Sadik Kumlali <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm getting the following error when deploying my service on to 1.0RC3 > Axis2.war. T

help on java2wsdl and parameter types

2006-04-26 Thread Mati David
Hi,   I’m running java2wsdl (axis1.3) in rpc style on my java source files. In the generated wsdl I see that the messages arguments types have the ‘soapenc’ namespace i.e., . Yet, when I look at automatically generated wsdl from the axis engine on my web server I see that those type

RE: FW: sendXMLDeclaration not working?

2006-04-26 Thread Doug Cottrell (Interactions)
Anne-You are correct.  It's just the only thing in the XML that looks like a processing instruction, so admittedly we were shooting in the dark about this.   We've solved the problem on the WebLogic server side. I don't know the exact solution, except this wasn't the problem. Thanks for your

Re: CalClient problem: Classpath

2006-04-26 Thread Kensky Schulz
You have to place the server side .aar in your class path. Remember the server side code you generated as .aar for classpath reference should be renamed as .jar before placing into classpath. On 4/24/06, Askar Zaidi <[EMAIL PROTECTED]> wrote: Hi, When I try to run the CalClient example, I ge

[Axis2][1.0RC3] Unable to locate with a locator the schema referenced at 'xsd1.xsd' ...

2006-04-26 Thread Ali Sadik Kumlali
Hi all, I'm getting the following error when deploying my service on to 1.0RC3 Axis2.war. There was no such problem with 0.95 release. I noticed that WSDL2Java generated xsd0.xsd, xsd1.xsd, xsd2.xsd and AccountServices.wsdl files into repository folder. I guess, this is a new feature, since thos

Re: [Axis2] Re: User manual for Axis2 v 0.95 - Problems with "Invoking a service using a mail"

2006-04-26 Thread Chamil Thanthrimudalige
Hi Jack, We do not have a sample in a box. Can you have a look at a test case[1] in the integration module in the axis2 source checkout[svn checkout]. To configure to work with the mail transport, have a look at the mail transport configuration document[2] for information about how to co

[axis2] services.xml problems

2006-04-26 Thread Michele Mazzucco
Hi all, I'm using Axis2 1.0 RC2 and I'm having troubles with services.xml when I include more that one service. In particular, the services.xml below doesn't work (the .aar file is shown as "faulty service") First stock.service.

Re: FW: sendXMLDeclaration not working?

2006-04-26 Thread Anne Thomas Manes
The XML declaration is not a processing instruction. That isn't the cause of your error.AnneOn 4/25/06, Doug Cottrell (Interactions) < [EMAIL PROTECTED]> wrote: Hello- I have created Axis client code to call a webservice hosted on a WebLogic server.  The Axis generated SOAP XML has the l

Re: [Axis2] Re: User manual for Axis2 v 0.95 - Problems with "Invoking a service using a mail"

2006-04-26 Thread Jack
Hi Chamil, Thanks for the quick reply. I am still having difficulties. Is there a fully functional example of SOAP via SMTP (ie a zip, jar, other that contains both client and source code that can be downloaded and run)? Also when building from WSDL into stubs / skeletons where do the changes ha

Re: [axis2] Setting EndPoint in Module -> nullpointer

2006-04-26 Thread Thomas Van de Velde
I think I found the problem.The sender retrieved by AxisEngine in TransportOutDescription transportOut = msgContext.getTransportOut(); TransportSender sender = transportOut.getSender();returns null.When invoke is called, you get a nullpointer.However my TransportOutDescription was set in the client

[Axis2] Re: User manual for Axis2 v 0.95 - Problems with "Invoking a service using a mail"

2006-04-26 Thread Chamil Thanthrimudalige
Hi Jack, Thanks for finding the typo. UtilsMailServer is in the integration module which is not shipped with any distribution. I think we need to move this to some other module that will be shipped. If you can get the source from a svn checkout[1] you will get UtilsMailServer[2]. Also pl

[Axis2] Client-within-server problems

2006-04-26 Thread Marshall, John
Hi, I'm trying to develop a request-reply web service, rather like in Figure 4 on this website: http://www-128.ibm.com/developerworks/library/ws-asynch2/ To do this I'm essentially writing a synchronous web service to do the first request-ack interaction. During the processing I launch a new thre

Re: does axis2 always mangle the wsdl file

2006-04-26 Thread f . linz
Hi! > > Now, my understanding is that if you place your wsdl file in the > > META-INF file of the web service's aar file, that is the wsdl file > > that will be delivered back to the client when you traverse to > > http://my.endpoint.com/service?wsdl. > > What will happen is AxisService will be