Re: Fw: Axis2C license questions

2008-01-11 Thread Samisa Abeysinghe
OK, looking at this as well as the other mail sent by Senaka, I think we should get more serious about this and solve it for once and for all. I propose that we list out all dependencies - including simple stuff as Axis2/Java for code gen, to all libs we link to and look for the implications.

RE: [axis2] empty xmlns

2008-01-11 Thread Henry Duc de Cagade de Branlou
Thank you very much for your useful help and great expertise! ;) Date: Thu, 10 Jan 2008 15:31:32 -0500 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [axis2] empty xmlns The top level element defines a default namespace, so all unqualified child elements are in the default

How to debug the axis web service

2008-01-11 Thread tce tce
Hi All, Is there any way to debug the axis web service when a dot.net client make a request? Regards, Thamizh P - Chat on a cool, new interface. No download required. Click here.

Re: installing axis2 java in apache http server

2008-01-11 Thread Upul Godage
No, You need a servlet container like Tomcat to deploy Axis2. http://ws.apache.org/axis2/1_3/installationguide.html#servlet_container On Jan 11, 2008 3:23 PM, deepakvsoni [EMAIL PROTECTED] wrote: hi, can i install axis 2 java in apache http server? if yes then can you please tell me how...

Re: Axis2 Writing Custom Phase Handlers

2008-01-11 Thread Michele Mazzucco
On 11 Jan 2008, at 04:13, Deepak Vishwakarma wrote: So, does this means that i have to programmatically register the handler in Websphere and can't use the Axis standard way of configuring it in the axis2.xml configuration file. Yes, you can. However in your first email you said you don't

Re: How to debug the axis web service

2008-01-11 Thread Alexey Zavizionov
Use code debugger on client (or server) with htto sniffer. Regards, Alexey On Jan 11, 2008 10:54 AM, tce tce [EMAIL PROTECTED] wrote: Hi All, Is there any way to debug the axis web service when a dot.net client make a request? Regards, Thamizh P Chat

installing axis2 java in apache http server

2008-01-11 Thread deepakvsoni
hi, can i install axis 2 java in apache http server? if yes then can you please tell me how... i'm newbie to web development... -- View this message in context: http://www.nabble.com/installing-axis2-java-in-apache-http-server-tp14752741p14752741.html Sent from the Axis - User mailing list

Re: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart)

2008-01-11 Thread Upul Godage
Try with http://10.1.3.90/wbds/service.asmx?wsdl or http://10.1.3.90/wbds/service.asmx?WSDL WSDL2Java needs the URL that points to the WSDL. The URL you have given may probably have an HTML page. Upul On Jan 7, 2008 7:18 AM, msg2ajay [EMAIL PROTECTED] wrote: hello, i am using

Axis2 and vectors

2008-01-11 Thread Marios Christoulakis
Hello i want to know how i can call a web service with input argument Vector and how to get as an answer vector. I have been searching for a long time but i haven't found anything. To call the ws i use the method OMElement result = sender.sendReceive(payload); Thank you in advance.

How to send XML request with Axis2?

2008-01-11 Thread westpine
Hi. I'm creating client with Axis2 and in some situation i can not use stubs and need to compose SOAP request myself. So after I have string with XML SOAP request in it, how to send it to server? Thanks! -- View this message in context:

RE: [axis2] empty xmlns

2008-01-11 Thread Henry Duc de Cagade de Branlou
I thought it was fixed but I still have a question please. compteAncre should be in the same namespace as CodeOrganisme (http://datamodel.wsdocument.dao.acces.ancre.acoss.fr/1.0 et not http://findby.wsdocument.dao.acces.ancre.acoss.fr/1.0; ) In the previous example, is the top level element

RE: Unable to hit AXIS2 service

2008-01-11 Thread Kandalam, Anjana
Thank you very much for your responses. Anjana Kandalam Private Client Group - AIG Work: 908-679-2608 Cell: 908-596-0424 -Original Message- From: Deepal jayasinghe [mailto:[EMAIL PROTECTED] Sent: Thursday, January 10, 2008 9:51 AM To: axis-user@ws.apache.org Subject: Re: Unable to hit

web service security

2008-01-11 Thread gaurav_abbi
Hi all, I’ve a doubt regarding web services security. If I configure a web service to expect a security header(basically signed, encrypted soap message) and the soap message that is sent to the web service is not having any encryption or signature as expected by web service, should the web

Re: get response as xml file

2008-01-11 Thread samanth marisetty
Hi, I am sorry I missed to say I use wsdl2java and use the java classes to get the response back. Thanks, Samanth Marisetty. On Jan 11, 2008 12:20 PM, samanth marisetty [EMAIL PROTECTED] wrote: Hi, I wanted to get the response from a web service as an xml file. Please let me know how

get response as xml file

2008-01-11 Thread samanth marisetty
Hi, I wanted to get the response from a web service as an xml file. Please let me know how it is possible. Thanks, Samanth Marisetty.

Re: How to send XML request with Axis2?

2008-01-11 Thread Upul Godage
Check out the OperationClient usage in http://wso2.org/library/290. There you can set your custom envelope. If you only want to change the body part, then check the quickstartaxiom sample in the samples directory of Axis2. Upul On Jan 11, 2008 7:19 PM, westpine [EMAIL PROTECTED] wrote: Hi.

[Axis2] MessageContext.getProperty() causes StackOverflowError

2008-01-11 Thread Michele Mazzucco
Hi all, I've noticed that MessageContext.getProperty()/getReplyTo() (and in general all methods which look up a value into the Options) throws a StackOverflowError if the key does not map to any value (or if it's not defined). This looks like a (serious) buf to me Any idea? Michele

Re: [Axis2] No xsi:type in the response elements

2008-01-11 Thread gaurav lall
I tried it with nightly build , I still get the same problem . Please let me kniow if I need to run the wsdl2java again (did not do that ) Also to give u some more context for axis 1 (though i was not involved) there was some code added to update the namespace mapping in the SOAP envelope

Re: web service security

2008-01-11 Thread Nandana Mihindukulasooriya
Hi Gaurav, If I configure a web service to expect a security header(basically signed, encrypted soap message) and the soap message that is sent to the web service is not having any encryption or signature as expected by web service, should the web service process that soap message or flag a

Re: Fwd: WSDL problem 'Didn't find specified return QName' error

2008-01-11 Thread Lawrence Mandel
Hi Rushikesh, Can you please attach your entire WSDL document, including the definitions element. This type of error is typically a problem with namespace declarations or usage. Here's a shot at the problem without all of the information. In your WSDL snippet you reference the XML schema

Re: SOAP-ENV versus soapenv

2008-01-11 Thread Andrew Wood
Hi The server, which I've wrote myself, uses the C++ based SimpleSOAP framework. It may be a fault with the server but I cant see what it may be. This is the complete SOAP sent by Axis to call a method getString, which takes a single string parameter on an object called Test.. to me it

Problem with code generated by wsdl2java (eclipse plug in) v1.3

2008-01-11 Thread Pete
Hope this is the right place to post: We have a non Axis SOAP server that is generating WSDL containing the following policy requirements: --- binding name=AccountSoap type=p:AccountSoap operation name=GetAccount input

org.apache.axis2.AxisFault: Invalid Content Type Field in the Mime Message

2008-01-11 Thread Raghu Kasturi
Hi, When I try to send the soap message using my .net Client to Axis2 service, I get the following exception: Creating an Attachments map. The content-length is6984 2008-01-11 10:39:37,184 DEBUG AxisServlet org.apache.axis2.AxisFault: Invalid Content Type Field in the Mime Message

Re: org.apache.axis2.AxisFault: Invalid Content Type Field in the Mime Message

2008-01-11 Thread Andreas Veithen
Raghu, If you look at http://www.w3.org/TR/SOAP-attachments, RFC 2045 and RFC 822, you can see that the Content-ID field and also the start part of the Content-Type field don't conform to the specifications. It is therefore not so surprising that Axis rejects the message. Maybe you

Re: org.apache.axis2.AxisFault: Invalid Content Type Field in the Mime Message

2008-01-11 Thread Andreas Veithen
Raghu, If this was the origin of the problem, you should open a JIRA issue, because RFC 2045 says that All media type values, subtype values, and parameter names as defined are case-insensitive. Regards, Andreas On 11 Jan 2008, at 20:44, Raghu Kasturi wrote: Hi Andreas, Thanks for the

RE: SOAP-ENV versus soapenv

2008-01-11 Thread Alastair FETTES
Hi Andrew. Theoretically soapenv should be perfectly acceptable. Irregardless of what the prefix is, as long as the actual namespace is the same it should recognize things appropriately. Take this silly example: soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;

RE: org.apache.axis2.AxisFault: Invalid Content Type Field in the Mime Message

2008-01-11 Thread Raghu Kasturi
Hi Andreas, Thanks for the reply. I could fix the issue, there were two problems in my SOAP message which Axis2 was not able to handle it. Content-Type: Multipart/Related; boundary=5a21e1d7-c13a-414f-856b-1d8db8caec7a; type=text/xml; start=dd5584d3- dfbc-4a0a-94a9-11be8726f446 One:

Re: org.apache.axis2.AxisFault: Invalid Content Type Field in the Mime Message

2008-01-11 Thread Martin Gainty
Good Afternoon Andreas http://www.w3.org/TR/SOAP-attachments#CID spec calls for Content-Type: Multipart/Related; regarding cas-insensitive parameter names I do seeHowever, parameter values are case-sensitive unless otherwise specified for the specific parameter.so the label can be

Re: SOAP-ENV versus soapenv

2008-01-11 Thread Andreas Veithen
@Alaistair: It would surprise me if the example you cite conformed to the XML specs, because it would break compatibility with non namespace aware parsers. Anyway, this has nothing to do with the problem Andrew faces. @Andrew: The value of the namespace prefix (soapenv or SOAP-ENV)

SOAP-ENV versus soapenv

2008-01-11 Thread Andrew Wood
When creating SOAP tags is there a choice of using either SOAP-ENV or soapenv? I thought it had to be SOAP-ENV but my Axis client is using soapenv, and I think this is probably the cause for the server moaning that the start or end tags of the SOAP message are missing. For example Axis

Re: [Axis2] MessageContext.getProperty() causes StackOverflowError

2008-01-11 Thread Andreas Veithen
Hi Michele, You should open a JIRA issue and if available attach the stack trace to it (to see where the recursion happens). Regards, Andreas On 11 Jan 2008, at 17:07, Michele Mazzucco wrote: Hi all, I've noticed that MessageContext.getProperty()/getReplyTo() (and in general all

Re: SOAP-ENV versus soapenv

2008-01-11 Thread Andrew Wood
Thanks Anne, Alastair Andreas Thats what I wasnt sure - whether the problem was being caused by Axis or SimpleSOAP. If Axis is behaving correctly I'll take this to the SimpleSOAP forum on Sourceforge and see if the SimpleSOAP creators can help me track down what its doing wrong. If the

Re: [Axis2] MessageContext.getProperty() causes StackOverflowError

2008-01-11 Thread Michele Mazzucco
JIRA AXIS2-3441 created. Michele On 11 Jan 2008, at 20:19, Andreas Veithen wrote: Hi Michele, You should open a JIRA issue and if available attach the stack trace to it (to see where the recursion happens). Regards, Andreas On 11 Jan 2008, at 17:07, Michele Mazzucco wrote: Hi all,

Re: SOAP-ENV versus soapenv

2008-01-11 Thread Anne Thomas Manes
My guess is that your SimpleSOAP framework is at fault. 1- the error your received in response is not valid. The faultcode and faultstring elements in the fault response message should not be namespace qualified. 2- the SOAP message generated by Axis is formatted correctly. (Note, though, that

Re: org.apache.axis2.AxisFault: Invalid Content Type Field in the Mime Message

2008-01-11 Thread Andreas Veithen
Martin, Raghu, Indeed, RFC 2045 allows Multipart/Related as in the message shown by Raghu and the SOAP specs use it explicitly as example. This makes it unlikely that this is the explanation of the problem. Whether the value of the type parameter is case sensitive or not is actually not

RE: org.apache.axis2.AxisFault: Invalid Content Type Field in the Mime Message

2008-01-11 Thread Raghu Kasturi
Hi Andreas, I made change in only two files: 1. TransportUtils.java -- modified to converted Multipart/Related to multipart/related 2. BuilderUtil.java -- modified to change text/xml to text/xml I also tried printing messageBuilders Hashmap in AxisConfiguration.java which contains the key

using seam with axis2

2008-01-11 Thread Leonardo o
Hello, has anyone been able to integrate axis2 with seam? The axis2 site as an integration section with spring/hibernate and am wondering if there's a way to do this with seam as well. Any help would be appreciated. Thanks _ Put

Re: SOAP-ENV versus soapenv

2008-01-11 Thread Anne Thomas Manes
An invalid SOAP fault would not cause a SAXParseException. I suspect that's also a SimpleSOAP problem. If you're looking for a simple C/C++ SOAP engine, I recommend gSOAP (http://www.cs.fsu.edu/~engelen/soap.html) or Axis C++ (http://ws.apache.org/axis/cpp/index.html). Anne On Jan 11, 2008 5:27

Re: SOAP-ENV versus soapenv

2008-01-11 Thread Andrew Wood
Thanks Andreas, thats enlightening! Am I right in thinking the C++ version of Axis is only for clients though? Does anyone know of a good open source SOAP library for C++ which can be used to write servers? Regards Andrew On 11 Jan 2008, at 22:21, Andreas Veithen wrote: Hi Andrew, I

Re: Fwd: WSDL problem 'Didn't find specified return QName' error

2008-01-11 Thread Anne Thomas Manes
Please also provide the expected request and response messages. The WSDL that you supplied does not correspond to the response message you provided. Anne On Jan 11, 2008 2:24 PM, Lawrence Mandel [EMAIL PROTECTED] wrote: Hi Rushikesh, Can you please attach your entire WSDL document, including

Re: org.apache.axis2.AxisFault: Invalid Content Type Field in the Mime Message

2008-01-11 Thread Andreas Veithen
Hi Raghu, I understand now the problem with Multipart/Related. By the way there is already a bug report AXIS2-3373 that describes this issue. On the other hand, I don't understand your second point. What did you modify exactly in BuilderUtil? Andreas On 11 Jan 2008, at 23:52, Raghu

Re: [Axis2] No xsi:type in the response elements

2008-01-11 Thread Anne Thomas Manes
Can you provide the WSDL? On Jan 11, 2008 1:27 PM, gaurav lall [EMAIL PROTECTED] wrote: I tried it with nightly build , I still get the same problem . Please let me kniow if I need to run the wsdl2java again (did not do that ) Also to give u some more context for axis 1 (though i was not

Re: SOAP-ENV versus soapenv

2008-01-11 Thread Anne Thomas Manes
gSOAP. On Jan 11, 2008 6:00 PM, Andrew Wood [EMAIL PROTECTED] wrote: Thanks Andreas, thats enlightening! Am I right in thinking the C++ version of Axis is only for clients though? Does anyone know of a good open source SOAP library for C++ which can be used to write servers? Regards

Re: Problem with code generated by wsdl2java (eclipse plug in) v1.3

2008-01-11 Thread Anne Thomas Manes
I think perhaps the WSDL didn't copy and paste correctly into your email. (Or perhaps gmail just isn't able to display it.) I read the first bit of the WSDL as: input http://SYSD/CICS/XML3/XMLPC003?Request=PolicyTemplate=TMACCT04Type=Input/ But this isn't valid XML. I suppose I should assume

Re: [Axis2] No xsi:type in the response elements

2008-01-11 Thread Gaurav Lall
Hi Anne Thanks for replying Please find attached the wsdl file, the wsdl does include lot of schemas(which are not public )which I can not include, Please let me know what you think If you think I need to provide the schema's too then I will work on creating an example for that Thanks

Re: Problem with code generated by wsdl2java (eclipse plug in) v1.3

2008-01-11 Thread Pete
Thanks Anne! Yes, the XML is valid, probably had an issue when cutting and pasting. I will try to remove the audit policy and see what that does and then follow up with the version issue. Thanks for giving me a direction to start with! -P - Original Message From: Anne Thomas Manes

Re: [axis2] empty xmlns

2008-01-11 Thread Anne Thomas Manes
Henry, If you want the compteAncre element to be in the datamodel namespace, then you must define it (the element) in the datamodel schema. Currently, you define the complexType in the datamodelschema, but you define the element in the inline schema in the WSDL. Therefore compteAncre and

Re: Calling BeanDeserializer ?

2008-01-11 Thread Anne Thomas Manes
Use a databinding framework, like JAXB, JiBX, or XMLBeans. The Axis BeanSerializer and BeanSerializer are not designed to be used as a generic databinding framework. Anne On Jan 10, 2008 10:33 PM, David Benua [EMAIL PROTECTED] wrote: I have a problem trying to use the BeanDeserializer outside