[Axis 1.4] WSDL2Java - is there a way to generate code that transmits WSE 2.0 requests?

2006-05-10 Thread James Gough
I'm having issues trying to connect a client generated by Axis's WSDL2Java to an existing .Net-based Web Service. Some of my research indicates that this may be due to the fact that I am sending WSE 3.0 requests to a WSE 2.0 service. Is there a way to have Axis 1.4 create code that sends 2.0

RE: Loosing bytes with MTOM

2006-05-10 Thread Patric Fornasier
Hi, I've found the problem. First of all, I didn't explicitly set the content type to "image/png" which explained the additional size, as jpeg headers were added: DataSource ds = new ImageDataSource("image.png", "image/png", image); Then however I had the problem that the received file size wa

RE: jms in J2EE

2006-05-10 Thread Yev Kelman
Does anybody know how to propagate a question to developers? Do they monitor users forum? thanks Yevgeniy Kelman -Original Message- From: Yev Kelman [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 09, 2006 9:54 PM To: axis-user@ws.apache.org Subject: jms in J2EE Hi, i come across very unu

Re: [AXIS2] Replication For High Availability

2006-05-10 Thread Deepal Jayasinghe
Hi Kensky ; I did some work sometimes ago to support FT for Axis1 (http://www-128.ibm.com/developerworks/webservices/library/ws-faws/). Axis2 to has all the guts to support FT so you can use same kind of approach for Axis2 too. I honestly know to have better FT one part missing in Axis2 , that is

RE: Use axis2 to call bpel

2006-05-10 Thread nancy
Hi, I have solved my problem myself. I set action using: options.setAction(messageName); Thanks -Original Message- From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 10, 2006 11:59 PM To: axis-user@ws.apache.org Subject: Re: Use axis2 to call bpel Hi

Re: policy on web-methods!!!

2006-05-10 Thread Deepal Jayasinghe
Axis2 core dose not provide that facility , but by adding a handler you can achieve the goal. Wolfgang Schwarz wrote: > Hi > > Is there any way in axis2 to impose restriction on webmethods i.e. who > is allowed to access or make call to the particular method? > > Thanks > schuller > -- Thanks,

Loosing bytes with MTOM

2006-05-10 Thread Patric Fornasier
Hi, I'm sending a small png image from one server to another via MTOM. The service and the client are both on the same machine. The original size of the image is 6450 bytes. When the clients copies the file to the file system however, the size of this copy is now 15083 bytes! Funny enough, the

Re: Use axis2 to call bpel

2006-05-10 Thread Deepal Jayasinghe
Hi Anne; Can you please explain to me why do you use serviceGroupConetxtID?. If this is the first request of given invocation , then no point of sending that in fact you will be getting a SOAP fault as well. If the service is deployed in SOAP session scope sever will send you the corresponding ser

Re: Think I found a bug in wsdl2java handling reserved word "Case" - Where to go from here?

2006-05-10 Thread Dies Koper
Hello Joshua, It is really a bug. For element names that are reserved Java keywords (case, public, if, etc.) Axis should prefix the Java field names with underscores. However, "Case" is not a reserved keyword: the class name should not get the underscore. I have never seen this in the BugDB, I

Re: [AXIS2] Replication For High Availability

2006-05-10 Thread robert lazarski
I believe sandesha is what you're after - just hit a 1.0 version for axis2. http://ws.apache.org/sandesha/ HTH, Robert http://www.braziloutsource.com/On 5/10/06, kensky <[EMAIL PROTECTED] > wrote:Hie,In my application I want to provide high availability and fault tolerance of web services deploy

Re: [Axis2 1.0] Data binding Error after WSDL2Java code generation

2006-05-10 Thread robert lazarski
Anne, might you be able to take a look at the attached wsdl ? It validates fine, but I see the same error, created a jira, and I'd like to track it down.  Don't think this wsdl has changed - I thought it was working in previous axis2 versions. Thanks, Robert http://www.braziloutsource.com/ On 5/

Scoped services.

2006-05-10 Thread Robert Nicholson
A few questions. I see too many files errors in tomcat with Axis 1.3 and I'm wondering if it's related to my scope settings. ie. request as the default.What is a session enabled client exactly?"Session" scope will create a new object for each session-enabled client who accesses your service. To spe

Re: REPOST FOR HELP: Axis client logging from web applet causes security error

2006-05-10 Thread ANTHONY ZIOLKOWSKI
Nope, still doesn't work. Looks like the same error to me. Just to help this is the html code: Demo PageSomething Stupid 3 Latest stack trace:   Java Plug-in 1.5.0_02Using JRE version 1.5.0_02 Java HotSpot(TM) Client VMException in thread "AWT-EventQueue-2" java.lang.ExceptionInInitializerError at

Re: [Axis2 1.0] Data binding Error after WSDL2Java code generation

2006-05-10 Thread Anne Thomas Manes
Sebastian,There are errors in your WSDL. You must remove the namespace attributes from the binding descriptions. (The namespace attribute must be use only with RPC style.)Anne On 5/10/06, Sebastian J. Schultheiss <[EMAIL PROTECTED]> wrote: Hi there!We've used the attached WSDL to create a service

Re: Axis 1.3 isn't working at all with JDK 1.5.0_06

2006-05-10 Thread robert
This turned out to be missing jars. Thankfully I found a hint online that suggested you catch Throwable in your binding implementation to see what the root exception was. Thanks who whoever posted that you said me a lot of headache. I sure hope that the later versions of Axis no longer swallow this

[AXIS2] Replication For High Availability

2006-05-10 Thread kensky
Hie, In my application I want to provide high availability and fault tolerance of web services deployed on axis2 and tomcat. Is it possible to have this featrue using Axis2 with Tomcat. if so how? Thanks and Regards kensky -- View this message in context: http://www.nabble.com/-AXIS2-Replic

Axis 1.3 isn't working at all with JDK 1.5.0_06

2006-05-10 Thread robert
So I've got a web app and if I put in Axis's 1.3 jars (not including endorsed) I get the following please note if I change these to Axis 1.4's jars and redeploy everything works correctly. What am I missing? AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException

Re: [Axis2 1.0] Data binding Error after WSDL2Java code generation

2006-05-10 Thread robert lazarski
There is already is a jira for this error, judging by the stack trace:   http://issues.apache.org/jira/browse/AXIS2-649 I started digging deeper last weekend - I updated the issue - but I'm a bit swamped at the moment to go any further for now. Robert http://www.braziloutsource.com/On 5/10/0

Re: [Axis2 1.0] Data binding Error after WSDL2Java code generation

2006-05-10 Thread Davanum Srinivas
Could you please log a bug in JIRA and then upload the wsdl? So that we can track and fix the problem? thanks, dims On 5/10/06, Sebastian J. Schultheiss <[EMAIL PROTECTED]> wrote: Hi there! We've used the attached WSDL to create a service & client by means of the WSDL2Java tool (xmlbeans datab

Re: [Axis2 1.0] Data binding Error after WSDL2Java code generation

2006-05-10 Thread Wolfgang Schuller
Hi,You need to run generated build.xml file or specific target ant jar-client, it will create jar file for which includes all the databinding code as well supported classes.  Just make sure if that jar is in your client classpath along with other axis2 and xmlbean libraries. Hope this helps,schulle

[Axis2 1.0] Data binding Error after WSDL2Java code generation

2006-05-10 Thread Sebastian J. Schultheiss
Hi there! We've used the attached WSDL to create a service & client by means of the WSDL2Java tool (xmlbeans databinding). After implementing the simplest of business logics in the server, we deployed the service .aar in the axis2 install inside a tomcat server. According to the status page, the

RE: axis-wsdl2java task problem

2006-05-10 Thread James Armstrong
Rob, I really appreciate your help. Yes, I did something similar and now everything is working. Thanks again, james -Original Message- From: Rob Henley [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 10, 2006 10:23 AM To: axis-user@ws.apache.org Subject: Re: axis-wsdl2java task problem H

Re: Jibx, Axis2 and multiple binding files

2006-05-10 Thread Dennis Sosnoski
Ah, good point on the top level binding file issue. I'll modify the code to also work with included bindings. - Dennis Andres Olave wrote: Thanks Dennis, Yeah, basically because i was just implementing a proof of concept and hadn't got around to having a single file which included all 4 fil

Re: [Axis2 1.0] SGCCalculator sample

2006-05-10 Thread Rob Henley
Hi Eran excellent - actually i had read it, but I'd forgotten :-(. I've got this working in 2 ways: 1. (as described in http://ws.apache.org/axis2/1_0/userguide3.html), by setting ConfigurationContext. 2. by setting -Daxis2.repo on the java command line BUT the above page also says .. "There

RE: Jibx, Axis2 and multiple binding files

2006-05-10 Thread Andres Olave
Thanks Dennis, Yeah, basically because i was just implementing a proof of concept and hadn't got around to having a single file which included all 4 files. Fixed that up and came across another interesting thing, which is that the wsdl message components have to be specified in the top level bi

policy on web-methods!!!

2006-05-10 Thread Wolfgang Schwarz
HiIs there any way in axis2 to impose restriction on webmethods i.e. who is allowed to access or make call to the particular method?Thanksschuller

RE: AXIS Serialization / Deserialization problem with namespace prefixes

2006-05-10 Thread Griffin, Mark
Title: Message Anne is right, of course. I was assuming that since your client was sending the prefix with qualifies it to http:/blah, that bob and jim belong to that namespace in your WSDL.   Your second client(example) is interpreting it that way.   markg -Original Message-Fr

Re: axis-wsdl2java task problem

2006-05-10 Thread Rob Henley
Hi James I'm not an expert, but I had a similar problem. I generated a server skeleton using java2wsdl and then added my implementation code, but of course next time I run java2wsdl it is overwritten. I have a directory structure something like: axis2 samples mySample ... MySkeleton.ja

Re: AXIS Serialization / Deserialization problem with namespace prefixes

2006-05-10 Thread Anne Thomas Manes
Mark's comment here is inaccurate: In your first example, bob is assumed to be part of http:/blah, where as in your second example it is explicitly set. In this example:    1    2 and are never "assumed" to be in the namespace of their parent element. When no namespace qualific

Re: [Axis2 1.0] SGCCalculator sample

2006-05-10 Thread Eran Chinthaka
Rob Henley wrote: > Hi - I seem to get a couple of errors with the SGCCalculator: > 1. out-of-the-box I get a 'log4j not properly initialised' error. I > 'fxied' this by modifying the supplied client to turn off logging for > the moment. > 2. more seriously i get a 'module not found' when the clien

Re: Axis2 1.0 getOutputStream() has already been called for this response

2006-05-10 Thread Arnaud MERGEY
http://issues.apache.org/jira/browse/AXIS2-707 thanks Davanum Srinivas a écrit : Could u please open a new JIRA bug? with your wsdl and soap request? thanks, dims On 5/10/06, Arnaud MERGEY <[EMAIL PROTECTED]> wrote: Just to inform you, with xmlbeans data binding I have the getOutputStream() ha

[Axis2 1.0] SGCCalculator sample

2006-05-10 Thread Rob Henley
Hi - I seem to get a couple of errors with the SGCCalculator: 1. out-of-the-box I get a 'log4j not properly initialised' error. I 'fxied' this by modifying the supplied client to turn off logging for the moment. 2. more seriously i get a 'module not found' when the client tries to engage the

re: axis-wsdl2java task problem

2006-05-10 Thread James Armstrong
Hi, I am using Axis wsdl2java to autogenerate needed "stubs" to that I can deploy my web service using axis-admin task. The wsdl2java keeps on over-writing my java source that java2wsdl used to generate the wsdl. Can I tell it not to do that?! Here is my axis-wsdl2java target:

Is there any way to add additional restrictions into auto-generated schema?

2006-05-10 Thread Collin VanDyck
I'm really liking the schema generation capabilities of Axis. I'm currently using 1.3, and am curious if there is any good way to keep Axis generating the XML Schema for my wrapped services but also to supply suggestions for some restrictions: 1. Enumerations - Can I say that a particular Str

Re: Axis2 1.0 getOutputStream() has already been called for this response

2006-05-10 Thread Davanum Srinivas
Could u please open a new JIRA bug? with your wsdl and soap request? thanks, dims On 5/10/06, Arnaud MERGEY <[EMAIL PROTECTED]> wrote: Just to inform you, with xmlbeans data binding I have the getOutputStream() has already been called for this response error Davanum Srinivas a écrit : > Ah...

Re: Axis2 1.0 getOutputStream() has already been called for this response

2006-05-10 Thread Arnaud MERGEY
Just to inform you, with xmlbeans data binding I have the getOutputStream() has already been called for this response error Davanum Srinivas a écrit : Ah...let me see how to fix it. thanks, dims On 5/10/06, Arnaud MERGEY <[EMAIL PROTECTED]> wrote: With empty soap header, invocation works !

Re: AXIS Serialization / Deserialization problem with namespace prefixes

2006-05-10 Thread Davanum Srinivas
Would you be able to test latest AXIOM jars? There should be a nightly jar you can pick from http://cvs.apache.org/repository/ws-commons/jars/ i remember a bug getting fixed in this area. thanks, dims On 5/10/06, Brown, Chris <[EMAIL PROTECTED]> wrote: Hi, I am using the code below to ser

RE: AXIS Serialization / Deserialization problem with namespace prefixes

2006-05-10 Thread Griffin, Mark
Title: Message Chris, The difference is coming from being fully qualified to the namespace and not fully qualified. In your first example, bob is assumed to be part of http:/blah, where as in your second example it is explicitly set.   Depending on how your WSDL is constructed, clients will

AXIS Serialization / Deserialization problem with namespace prefixes

2006-05-10 Thread Brown, Chris
Title: Message Hi,     I am using the code below to serialize / deserialize AXIS beans back and forth to XML.   However, I have recently came across a situation where say...     Original       1     2        Turns in to          1     2       Once serialization / deserializati

Re: [axis2]axis2 + mtom

2006-05-10 Thread Stefan Vladov
Hi, sorry to bother you again with the same old stuff... my problem was the javamail implementation... an exception of type ParseException is thrown somewhere in javax.mail.internet.ContentType#ContentType(String type) , which is called by public Attachments(InputStream inStream, String contentT

Re: Axis2 1.0 getOutputStream() has already been called for this response

2006-05-10 Thread Davanum Srinivas
Ah...let me see how to fix it. thanks, dims On 5/10/06, Arnaud MERGEY <[EMAIL PROTECTED]> wrote: With empty soap header, invocation works ! Arnaud Davanum Srinivas a écrit : > Hmm...i think i can guess where the problem is. could u please try > adding an empty soap header in the soapui (when

Re: Axis2 1.0 getOutputStream() has already been called for this response

2006-05-10 Thread Arnaud MERGEY
With empty soap header, invocation works ! Arnaud Davanum Srinivas a écrit : Hmm...i think i can guess where the problem is. could u please try adding an empty soap header in the soapui (when u send the request message?) thanks, dims On 5/10/06, Arnaud MERGEY <[EMAIL PROTECTED]> wrote: In to

Re: Axis2 1.0 getOutputStream() has already been called for this response

2006-05-10 Thread Davanum Srinivas
Hmm...i think i can guess where the problem is. could u please try adding an empty soap header in the soapui (when u send the request message?) thanks, dims On 5/10/06, Arnaud MERGEY <[EMAIL PROTECTED]> wrote: In tomcat logs I have: GRAVE: Exception Processing ErrorPage[errorCode=500, location

Re: Axis2 1.0 getOutputStream() has already been called for this response

2006-05-10 Thread Arnaud MERGEY
In tomcat logs I have: GRAVE: Exception Processing ErrorPage[errorCode=500, location=/axis2-web/Error/error500.jsp] org.apache.jasper.JasperException: "getOutputStream()" a déjà été appelé pour cette réponse at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper

Re: Axis2 1.0 getOutputStream() has already been called for this response

2006-05-10 Thread Davanum Srinivas
Can you please check the tomcat logs? thanks, dims On 5/10/06, Arnaud MERGEY <[EMAIL PROTECTED]> wrote: This is stack trace org.apache.axiom.om.impl.llom.OMElementImpl.getNextOMSibling(OMElementImpl.java:265) org.apache.axiom.om.impl.traverse.OMChildrenQNameIterator.hasNext(OMChildrenQNameIte

Re: Axis2 1.0 getOutputStream() has already been called for this response

2006-05-10 Thread Arnaud MERGEY
Hi, I didn't use any program TCP monitor. I use tomcat starded with the startup.bat batch and invoke my web service with SOAP UI thanks, Arnaud Ali Sadik Kumlali a écrit : Hi Arnaud, Do you, by any chance, use a program such as TCPMon or Eclipse WTP's TCP/IP monitor? If you do, could you tr

Re: WSE 817 error - bad wsdl or just newbie stupidity?

2006-05-10 Thread Anne Thomas Manes
So you should tell the folks that built the service that they should define a more reasonable Actor attribute. To make it easier for consumers, the Actor attribute should be the same as the service endpoint URL. The wsa:To value specifies the "destination" property, which is a URI that represents t

Re: Use axis2 to call bpel

2006-05-10 Thread Anamitra . Bhattacharyya
with the limited experience that I have with oracle bpel engine - if you do not provide a soapaction the oracle bpel engine which is hosting your process web service will default the soapaction to "orabpel" and will try to find that binding - which obviously does not exist. You have to look at ur o

Re: Axis2 1.0 getOutputStream() has already been called for this response

2006-05-10 Thread Ali Sadik Kumlali
Hi Arnaud, Do you, by any chance, use a program such as TCPMon or Eclipse WTP's TCP/IP monitor? If you do, could you try without it?Last week I faced with the same problem and it disappeared when I stopped using Eclipse WTP's TCP/IP monitor. If your problem is solved with this way, but you really

Re: load: class SOAPMonitorApplet.class not found

2006-05-10 Thread robert lazarski
Looks like an OS config issue to me: "Address is invalid on local machine, or port is not valid on remote machine" Shutdown tomcat. If you can still telnet to port 5001, something else is listening, and the applet will be passed zero as the port to connect. My guess is that for some reason

Re: Axis2 1.0 getOutputStream() has already been called for this response

2006-05-10 Thread Arnaud MERGEY
This is stack trace org.apache.axiom.om.impl.llom.OMElementImpl.getNextOMSibling(OMElementImpl.java:265) org.apache.axiom.om.impl.traverse.OMChildrenQNameIterator.hasNext(OMChildrenQNameIterator.java:75) org.apache.axiom.om.impl.llom.OMElementImpl.getFirstChildWithName(OMElementImpl.java:

Re: Use axis2 to call bpel

2006-05-10 Thread Anne Thomas Manes
What is the SOAPAction URI specified in the WSDL for "initiateProcess" operation? You should specify that URI in setAction method.AnneOn 5/10/06, nancy <[EMAIL PROTECTED]> wrote: Hi,I have not used that method. My code is:Public void invoke(){Options options = new Options();options

Re: axis2: using jndi datasource/hibernate

2006-05-10 Thread robert lazarski
I use most of these libs with axis2 - except I use spring for the datasource. The way I do it is I only put the ServiceClass - referenced in service.xml - inside the aar. In this case, the aar uses a seperate classloader only for this case. An aar provides good isolation and versioning for multip

RE: load: class SOAPMonitorApplet.class not found

2006-05-10 Thread Vignesh M.P.N.
Title: Message Could anyone please help me on this?   Thanks Vignesh. -Original Message-From: Vignesh M.P.N. [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 09, 2006 9:34 PMTo: axis-user@ws.apache.orgSubject: RE: load: class SOAPMonitorApplet.class not found I uncomment

Axis2 1.0 getOutputStream() has already been called for this response

2006-05-10 Thread Arnaud MERGEY
Hi, I want to generate a web service from a wsdl file with WSDL2Java. I'have tried adb data binding and jibx data binding. I successfully deploy my web service in tomcat (5.5.17) When I invoke the service, I'have an HTTP 500 server error "java.lang.IllegalStateException: getOutputStream() has a

Re: Enable soap monitor

2006-05-10 Thread robert lazarski
See me responses inline. On 5/10/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: Hi, Not able to understand this point 3) Deploy the soapmonitor web service via the admin client The soap monitor  in axis 1.x also  has  a  wsdd - which IIRC needs to be deployed first. And

cannot find binding operation definition of soapAction '/orabpel' -Urgent

2006-05-10 Thread nancy
  Hi,   I am trying to call BPEL process using Axis2.   I have given it the web service port address: http://daff06:9700/orabpel/default/ProcessManager/1.0 which is given in class generated by wsdl2java .   My request is:   11     Can any body tell from where it is assumin

RE: Use axis2 to call bpel

2006-05-10 Thread nancy
Hi, I have not used that method. My code is: Public void invoke(){ Options options = new Options(); options.setTransportInProtocol(Constants.TRANSPORT_HTTP); boolean exit = false; String serviceGroupContextId = null; EndpointReference

axis2: using jndi datasource/hibernate

2006-05-10 Thread Jilles van Gurp
Hi, I'm currently exploring axis2. I am developing a web service that includes a few pojos that persist to a hibernate datalayer. Currently I am using the tomcat db connection pool and I was wondering at what is the recommended practice for configuring all this as a nice aar. What I would pr

Re: Use axis2 to call bpel

2006-05-10 Thread Eran Chinthaka
Axis2 will never set a non-empty SOAPAction, if you have not called options.setAction(youraction). Are u sure you have not called that method. -- Chinthaka nancy wrote: > Yah I understand that marking message with Urgent won't help in getting > quick reply from others.Anyways,I want to send a SO

Axis2 1.0 Ant codegen, extension properties

2006-05-10 Thread Arnaud MERGEY
Hi, Is it possible to use ant codegen task with extension properties ? I want to invoke codegen with a jibx databinding and I have this error "jibx binding option requires -bindingfile {file path} parameter" The only way I have find is to invoke WSDL2java from ant, but I think it is a "dirty"

Use axis2 to call bpel

2006-05-10 Thread nancy
Yah I understand that marking message with Urgent won't help in getting quick reply from others.Anyways,I want to send a SOAP Envelope in the way that I don't need to manipulate the requested parameter (OMELEMENT) there to get the parameters. I tried it but with no success. Exception is coming: C

Re: URGENT Use axis2 to call bpel

2006-05-10 Thread Eran Chinthaka
Hi Nancy, First, marking your messages to this list as URGENT won't help you in any means. Rather it will make the case worse. Opensource developers are willing and like to help others, but can not be forced to do so (except you have a private service contract with them ;) ). nancy wrote: > Can