Some quick Axis2C help required ---- very very urgent

2008-11-18 Thread ramesh Gopal
The last time I ran into some issue with my Axis code, I came across lot of suggestions. Sample xml : operation in0 111 /in0 in0 222 /in0 /operation Now I have modified my code as follows : first_element = axiom_node_get_data_element(node, env); if ((ci =

Re: Some quick Axis2C help required ---- very very urgent

2008-11-18 Thread Samisa Abeysinghe
It is hard to look at this code fragment and tell what the error is. Please send the full code so that I could run it and see. Thanks, Samisa... ramesh Gopal wrote: The last time I ran into some issue with my Axis code, I came across lot of suggestions. Sample xml : operation in0 111 /in0

RE: xs:any minOccurs Check is Wrong

2008-11-18 Thread David Taylor (Lowell)
I think I have figured out the problem. In this case, there is an anonymous complex type with a sequence. That sequence has an implied minOccurs of 1. But, inside that sequence is only a single item, any, with a minOccurs of 0. The ADB deserializer didn't handle the case where the any had

[WSDL2Java] How to use an XSD contained in a JAR

2008-11-18 Thread stlecho
Hi, I would like to import an XSD that is contained in a JAR. Is this possible with WSDL2Java ? Regards, Stefan Lecho. -- View this message in context: http://www.nabble.com/-WSDL2Java--How-to-use-an-XSD-contained-in-a-JAR-tp20557265p20557265.html Sent from the Axis - User mailing list

jaxws-calculator

2008-11-18 Thread Deepak Damara
Hi, I am trying to run sample jaxws-calculator from axis2-1.4.1 release . I am using java 1.5. I am not able to deploy service . log is No annotated classes found in the jar: file:/D:/axis2-1.4.1-source/repository/servicejars/jaxws-cal culator-1.4.1.jar. Service deployment failed. [INFO]

Re: org.apache.axis2.AxisFault: HTTP Transport error : '501' - 'Not Implemented' message

2008-11-18 Thread peterramesh
Hi Daniel, I'm trying to access the services offered by Entrez utilities web service, On running a sample java application ( http://eutils.ncbi.nlm.nih.gov/entrez/eutils/soap/v2.0/DOC/esoap_java_help.html http://eutils.ncbi.nlm.nih.gov/entrez/eutils/soap/v2.0/DOC/esoap_java_help.html ) I'm

Re: REST Service with AXIS

2008-11-18 Thread keith chapman
Hi Manish, I am the one who wrote that article, the original was published at http://wso2.org/library/3726. Nice to hear that you found it usefull. I have answered your questions inline, On Mon, Nov 17, 2008 at 10:11 PM, kat kat [EMAIL PROTECTED] wrote: I have actually followed Keith Chapman's

WSDL2JAVA options

2008-11-18 Thread ibrahim demir
Hi All; I'm creating my classes with axis2 wsdl2java tool. But teh resultant classes are hard to read. It adds the class package name before every element. Is there any option to stop them. Or do you have any way to get rid of them quickly. As an example: private staticjava.lang.String

Re: WSDL2JAVA options

2008-11-18 Thread Amila Suriarachchi
this is the default method it generates the code. this has done to avoid compilation errors. There is no option to change it. thanks, Amila. On 11/18/08, ibrahim demir [EMAIL PROTECTED] wrote: Hi All; I'm creating my classes with axis2 wsdl2java tool. But teh resultant classes are hard to

Re: org.apache.axis2.AxisFault: HTTP Transport error : '501' - 'Not Implemented' message

2008-11-18 Thread Amila Suriarachchi
On Tue, Nov 18, 2008 at 5:30 PM, peterramesh [EMAIL PROTECTED] wrote: Hi Daniel, I'm trying to access the services offered by Entrez utilities web service, On running a sample java application ( http://eutils.ncbi.nlm.nih.gov/entrez/eutils/soap/v2.0/DOC/esoap_java_help.html

Re: org.apache.axis2.AxisFault: HTTP Transport error : '501' - 'Not Implemented' message

2008-11-18 Thread ibrahim demir
Ok. Thanks for your quick reply. so I must find a way to refractor them or to clear them using Eclipse. Yours. Ibrahim DEMIR CyberSoft Yazilim Muh. http://www.ibrahimdemir.org From: Amila Suriarachchi [EMAIL PROTECTED] To:

Re: [WSDL2Java] How to use an XSD contained in a JAR

2008-11-18 Thread Amila Suriarachchi
On Tue, Nov 18, 2008 at 4:19 PM, stlecho [EMAIL PROTECTED] wrote: Hi, I would like to import an XSD that is contained in a JAR. Is this possible with WSDL2Java ? I think no. This depends on whether wsdl4j supports this feature or not. Please have a look at :) thanks, Amila. Regards,

Re: WSDL2JAVA options

2008-11-18 Thread Manuel Darveau
Hi, You could import the generated classes to eclipse and format the whole code using the format tool. This can remove unneeded package prefix and do various formatting based on your preferences. Manuel On Tue, Nov 18, 2008 at 8:18 AM, ibrahim demir [EMAIL PROTECTED]wrote: Hi All; I'm

Re: org.apache.axis2.AxisFault: HTTP Transport error : '501' - 'Not Implemented' message

2008-11-18 Thread Amila Suriarachchi
On Wed, Apr 23, 2008 at 8:58 AM, Pinaki Chandrasekhar [EMAIL PROTECTED] wrote: Hello Friends, I have been trying to figure out the problem for a few days and really need some help. My j2ee application integrates with IPX gateway for Short messaging service. This is implemented as a

RE: AXIS2-3239, 3443

2008-11-18 Thread Eric Decosta
I'm interested in a fix as well; it seems that part of the issue is that AxisFault.makeFault() doesn't fill-in the Detail element of the Fault. Following this example: :

Re: AXIS2-3239, 3443

2008-11-18 Thread Manuel Darveau
Hi, I digged in the code and I think the fix should be around org.apache.axis2.util.MessageContextBuilder:614 or directly on AxisFault.makeFault(). I have a workaround that consist of injecting the detail on the generated AxisFault. For example, if my operation's wsdl is: ... xs:schema

Re: Requested factory com.ctc.wstx.stax.WstxOutputFactory cannot be located exception

2008-11-18 Thread frelli
Anybody has a clue on this? frelli wrote: I'm using Axis 1.4.1 and when use a stub with success apart than in one place. When i invoke the WSDL (again, only in one method, the others are just fine) I get the following Axis fault org.apache.axis2.AxisFault: Requested factory

Something like RawXMLOUTOnlyMessageReceiver?

2008-11-18 Thread John.Tyler
Hello, I'm creating an AXIOM-based service using Axis2 v1.4.1 and have two methods with signatures that don't seem to map to any of the available Raw*MessageReceivers: public OMElement getBalance() public void update() How can I define these in my services.xml? I only see options for

RE: AXIS2-3239, 3443

2008-11-18 Thread Eric Decosta
I went a different route and tried doing things top-down from the WSDL (see attached) and things worked as expected: Request: soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; xmlns:test=http://test.webservices.bat.mathworks.com; soapenv:Header/ soapenv:Body

Re: java.security.AccessControlException: access denied (java.io.FilePermission ..../WEB-INF/scriptServices read)

2008-11-18 Thread Ramesh Vishwanatham
Hi Amila Thanks a lot, by adding loadLibrary permission and others I am able to make AxisServlet initialization successful with my services loaded. I had one problem which I could not find a solution, below is the error trace: SECJ0314W: Current Java 2 Security policy reported a potential

Re: AXIS2-3239, 3443

2008-11-18 Thread Manuel Darveau
Thanks Eric. I check the code generated usin wsdl2java -ss -uri TestService.wsdl. The catch(EmployeeNotFoundException) in TestServiceMessageReceiverInOut.invokeBusinessLogic does the job of injecting the detail in the axis fault. This is done in a somewhat complicated way and it depends on

RE: AXIS2-3239, 3443

2008-11-18 Thread Eric Decosta
Yes, Axis2 injects the detail into the AxisFault there, but I had to add that detail via setFaultMessage() in TestServiceSkeleton before throwing the fault. Skeleton: EmployeeNotFoundException e = new EmployeeNotFoundException(Could not find employee: + getEmployeeIdRequest.getFullname());

Re: More questions about maven and axis2

2008-11-18 Thread CheffPJ
Hello. I very much appreciate this posting as I was having the same issue with axsi2 generated xmlbeans resources not being included in the packaging. This looks to be a bug. Can an axis2 developer confirm please and I'll file a bug report? Thanks, Pat McDonough David Ojeda-2 wrote:

Re: [WSDL2Java] How to use an XSD contained in a JAR

2008-11-18 Thread stlecho
The wsdl4j project does not have a mailing list :o(, so I would be pleased if someone could clarify if wsdl4j supports this feature. PS: Amila, could it be that your post has been modified: Please have a look at ... ? Amila Suriarachchi wrote: On Tue, Nov 18, 2008 at 4:19 PM, stlecho [EMAIL

Re: Soap Request Problem Re: Http Error: could not Post file on server

2008-11-18 Thread changxing
Yes it's a problem of altova xmlspy. I tried in flex3 to access the webservice. No timeout issue. Thanks Chang Xing. Amila Suriarachchi wrote: On Mon, Nov 17, 2008 at 9:34 AM, changxing [EMAIL PROTECTED] wrote: Hi Amila, Thanks for the reply. First now I'm sure this has

Re: REST Service with AXIS

2008-11-18 Thread kat kat
On Tue, Nov 18, 2008 at 4:38 AM, keith chapman [EMAIL PROTECTED]wrote: Hi Manish, I am the one who wrote that article, the original was published at http://wso2.org/library/3726. Nice to hear that you found it usefull. I have answered your questions inline, Yeah, I knew you would be on

Axis2 build error after checkout Axis2 from Subversion

2008-11-18 Thread ZHU Johnson
Hi, all I am new for axis2. I took source code from svn co http://svn.apache.org/repos/asf/webservices/axis2/trunk/java;. And build axis with mvn -e -X install -Dtest=false -Drelease. But I got some build error. The error is the following. My problem:How can I build successfully? And what is

Re: java.security.AccessControlException: access denied (java.io.FilePermission ..../WEB-INF/scriptServices read)

2008-11-18 Thread Amila Suriarachchi
On Tue, Nov 18, 2008 at 10:51 PM, Ramesh Vishwanatham [EMAIL PROTECTED] wrote: Hi Amila Thanks a lot, by adding loadLibrary permission and others I am able to make AxisServlet initialization successful with my services loaded. I had one problem which I could not find a solution, below is

Re: Something like RawXMLOUTOnlyMessageReceiver?

2008-11-18 Thread Amila Suriarachchi
Write your own message receivers extending AbstractInOutMessageReceiver and AbstractMessageReceiver classes. thanks, Amila. On Tue, Nov 18, 2008 at 9:25 PM, [EMAIL PROTECTED] wrote: Hello, I'm creating an AXIOM-based service using Axis2 v1.4.1 and have two methods with signatures that don't

Help! How to define the WSDL so my SOAP XML schema can be correct?

2008-11-18 Thread Tian Chi
Hi all, I'm a new user of Axis2. I created a WSDL for Axis2 but it turned out my XML schema has one more layer (tag) than I expected. Following is the XML I got ?xml version=1.0? SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/ SOAP-ENV:Body ns:MMRequest