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

2008-01-10 Thread Rushikesh Thakkar
Hi folks, *Please* spend some time reading this fully. I am tired of trying to solve this problem for more than a week now. I have to write a webservice client using Axis 1.4. The webservice is very old, written using servlets and apache-soap. I do not even have the WSDL for it. So I wrote WSDL

Re: Mininal set of maven dependencies

2008-01-10 Thread Deepal Jayasinghe
This is the minimum set of dependencies you want to , write a and invoke a service ;-) activation-1.1.jar annogen-0.1.0.jar backport-util-concurrent-2.2.jar commons-codec-1.3.jar commons-fileupload-1.1.1.jar commons-httpclient-3.0.1.jar httpcore-4.0-alpha5.jar httpcore-nio-4.0-alpha5.jar httpcore

Re: Unable to hit AXIS2 service

2008-01-10 Thread Deepal jayasinghe
> Kevin, Thanks for your response. My client is Axis 1.4. When I try to > hit the Axis2 service, I get the following exception > > > > The endpoint reference (EPR) for the Operation not found is > http://localhost:9082/axis2/services/AcordWinsRateService and the WSA > Action = > > > > Where my

Re: Axis2 logging question

2008-01-10 Thread Deepal Jayasinghe
> Hi all, > > I have a service exposed in an war which has aar inside. This service > is failing when it is called even if calling just the business from > POJO in eclipse is working.So I feel it is a deployment issue/class > path etc. How can I enable/see all the logging on the Apache Axis2 > jav

Re: [Axis2] NPE in HttpCoreNIOSender

2008-01-10 Thread Deepal Jayasinghe
Hi Michele , Will you be able to contribute that test case to Axis2 , may be you could create a JIRA and attach the test case :) -Deepal > Hi all, > > I'm unit testing some code and I see a NPE in the HTTPCoreNIOSender. > The stack trace is the following: > > Exception in thread "HttpCoreNIOSender

Difficulty Generating a JSP Test Client with Eclipse's Web Service Client Wizard

2008-01-10 Thread Matthew Fadoul
Hello all, I've been creating web services based on WSDL files, using Eclipse's "Web Service" wizard and deploying on Axis2 without much difficulty. At first, I tested my services by using the Web Services Explorer within Eclipse. Now, I'd like to build my own client to access the web s

Re: Axis2 Writing Custom Phase Handlers

2008-01-10 Thread Deepak Vishwakarma
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. I will try to find out if websphere provides some native api's to get the axis configuration at runtime. Thanks for y

Calling BeanDeserializer ?

2008-01-10 Thread David Benua
I have a problem trying to use the BeanDeserializer outside of the standard SOAP message processing. I wonder if this is possible. I have an object that is normally transmitted via Web Services that I want to persist as an XML file, and then re-use it at a later date as an Object. This Objec

Re: WSDL XSD Schema Importing...

2008-01-10 Thread Norman Barker
Hi, are you trying to create an ebRIM CSW server, that is interesting - sorry I missed your earlier emails - I have already run wsdl2java on the ebrim wsdl files, I also tried doing this with Apache Tuscany - works with Axis, not with Tuscany. I don't think this is right forum for a discussion so

Re: WSDL XSD Schema Importing...

2008-01-10 Thread silver17
Hi Amila, Your solution was correct; I replaced the Axis2 v1.3 libs with the nightly build (snapshot) libs and everything works fine. The Eclipse plugins don't work, but if I use the WSDL2Java in the nightly build it works as I expected it to. Amila Suriarachchi wrote: > > can you please try

RE: WSDL location

2008-01-10 Thread Kandalam, Anjana
Hi , The client Im using is Axis 1.4 in java. The wsdl defines both SOAPAction and wsaw:action settings. In the client if I add the line call.setSOAPActionURI(" operation name") then I am able to hit the service. Is there a way to avoid making this change?? Anjana -Original Message- Fr

Re: Exception "doesnt contain ObjectFactory.class or jaxb.index"

2008-01-10 Thread Trasca Virgil
Hi Andreas, Thanks for help. I am generating jaxb2 code with XJC ant task. This is generating ObjectFactory.java but not jaxb.index file. Is this file from jaxb2 or it is from old jaxb1? If I am googling for this file I get so few references and no clear documentation for jaxb.index. I put

Re: [Axis2] NPE in HttpCoreNIOSender

2008-01-10 Thread Michele Mazzucco
Andreas, it's very odd indeed -- the exception does not occur every time (it suggests me that is a concurrency problem). I'm not testing a deployed service, so I really don't know what getMessageReceiver() should return. Michele On 10 Jan 2008, at 19:32, Andreas Veithen wrote: Michele,

Re: [Axis2] NPE in HttpCoreNIOSender

2008-01-10 Thread Michele Mazzucco
Andreas, it's very odd indeed -- the exception does not occur every time (it suggests me that is a concurrency problem). I'm not testing a deployed service, so I really don't know what getMessageReceiver() should return. Michele On 10 Jan 2008, at 19:32, Andreas Veithen wrote: Michele,

How to set SimpleSessionHandler session timeout in Axis 1.4

2008-01-10 Thread Chandolu, Yuva
Hi, I have a web service that uses SimpleSessionHandler to maintain sessions. I had the following lines in my service description in server-config.wsdd. I also created the client-wsdd like following lines in it.

Re: [Axis2] NPE in HttpCoreNIOSender

2008-01-10 Thread Andreas Veithen
Michele, This would mean that mc.getAxisOperation().getMessageReceiver() returns null. I don't know the code very well, but this seems indeed strange. Can you also post your unit test? Andreas On 10 Jan 2008, at 19:14, Michele Mazzucco wrote: mr.receive(nioFaultMessageContext); On 10

Re: Exception "doesnt contain ObjectFactory.class or jaxb.index"

2008-01-10 Thread Andreas Veithen
Virgil, Both the ObjectFactory class and the jaxb.index file are generated by JAXB 2. They are required by JAXB to load the generated classes at runtime. So, the message basically tells you that the generated classes are not available in the classpath. Andreas On 10 Jan 2008, at 19:33, T

Exception "doesnt contain ObjectFactory.class or jaxb.index"

2008-01-10 Thread Trasca Virgil
Hello, I have a service which is exposing some classes which are mapped to an external xml file with jaxb2. I want to use jaxb2 for getting/writting values to my xml but when I send data on http for webservice I want to use the axis2 adb binding. My method that is exposing xml with jaxb2 i

Unable to receive SOAP messges from .net sender

2008-01-10 Thread Raghu Kasturi
Hi, I am facing a problem while receiving the SOAP message from a .net sender/client. Client is sending a sample SOAP message with Attachments. Sample message : POST /soap/services/myTestService HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 1.1.

Re: [Axis2] NPE in HttpCoreNIOSender

2008-01-10 Thread Michele Mazzucco
mr.receive(nioFaultMessageContext); On 10 Jan 2008, at 16:45, Andreas Veithen wrote: Michele, Can you post the code at line 442 in HttpCoreNIOSender.java that triggers the error? Andreas Quoting Michele Mazzucco <[EMAIL PROTECTED]>: Andreas, it must be a concurrency-related problem b

Re: WSDL location

2008-01-10 Thread Paul Fremantle
Anjana I'm not clear changing the WSDL file is the right solution here, but you can do it. You save the WSDL, add it into the service archive, and then set a flag called useOriginalWSDL. However Does the WSDL define SOAPAction or wsa:action settings? And what client are you using. Basically

RE: WSDL location

2008-01-10 Thread Kandalam, Anjana
So is there no way I can change the wsdl file??I am unable to hit the service because it complains that WSA action is nullI have not specified the SOAP action in my clientIs there a way out??? Anjana Kandalam Private Client Group - AIG Work: 908-679-2608 Cell: 908-596-0424 -Origina

Re: WSDL location

2008-01-10 Thread Paul Fremantle
The WSDL is generated on-demand... it isn't stored. If you want to store it you can use a browser (Save As...) or wget to grab it. Paul On Jan 10, 2008 4:47 PM, Kandalam, Anjana <[EMAIL PROTECTED]> wrote: > > > > > > > I have my services in Axis2 and I am using RawXMLINOutMessageReceiver as the >

Re: Axis2 JMS Transport to WebSphere MQ

2008-01-10 Thread Paul Fremantle
I have some previous advice on using MQ. In fact this was done with Synapse, but the advice might help: Websphere MQ 6 on Windows XP QM_upul = default queue manager MQ_HOME\bin\runmqsc.bat QM_upul (Enter commands in sub-shell.) define qlocal(Q1) end Using the file system b

Re: Axis2 JMS Transport to WebSphere MQ

2008-01-10 Thread David Illsley
Hi, I don't have any specific suggestions, but I am aware that someone has worked on this before. I suggest searching the Axis2 user and dev archives for the following JIRA (which is the context in which is was discussed previously): https://issues.apache.org/jira/browse/AXIS2-2816 Cheers, David O

WSDL location

2008-01-10 Thread Kandalam, Anjana
I have my services in Axis2 and I am using RawXMLINOutMessageReceiver as the message receiver class. Axis2 is auto generating the wsdl. Can I know where I can find the physical location of the file on my file system??

Axis2 JMS Transport to WebSphere MQ

2008-01-10 Thread callagc4
Hi, We are currently using axis2 in a standalone server. I have been trying to configure axis2 to hook up with websphereMQ. However i am unsure of how to configure axis2 for this as all the examples i have found are for activeMQ. Could anyone tell me how this can be done? My main area of concern

Re: [Axis2] NPE in HttpCoreNIOSender

2008-01-10 Thread Andreas Veithen
Michele, Can you post the code at line 442 in HttpCoreNIOSender.java that triggers the error? Andreas Quoting Michele Mazzucco <[EMAIL PROTECTED]>: Andreas, it must be a concurrency-related problem because I cannot reproduce it when I execute instructions step-by-step with the debugger.

RE: [axis2] empty xmlns

2008-01-10 Thread Henry Duc de Cagade de Branlou
Hi, By adding elementFormDefault="qualified" into my wsdl file, I eventually get the empty namespace disappear (see compteAncre attribute) : http://schemas.xmlsoap.org/soap/envelope/";> http://findby.wsdocument.dao.acces.ancre.acoss.fr/1.0";> http://datamodel.wsdocument.dao.acces.ancre.aco

Re: [Axis2] NPE in HttpCoreNIOSender

2008-01-10 Thread Michele Mazzucco
Andreas, it must be a concurrency-related problem because I cannot reproduce it when I execute instructions step-by-step with the debugger. Michele On 10 Jan 2008, at 14:59, Andreas Veithen wrote: Hi Mechele, This issue is indeed strictly related to connection timeouts. I remember that

Re: [Axis2] NPE in HttpCoreNIOSender

2008-01-10 Thread Michele Mazzucco
On 10 Jan 2008, at 14:59, Andreas Veithen wrote: It would be interesting to know which variable is actually null in the handleError method. Do you think that you will be able to check this? - To unsubscribe, e-mail: [EMAI

Re: [Axis2] RuntimeException when using SOAPMonitor

2008-01-10 Thread andreas netter
Hi Robert, I'm using SOAP 1.1 and JAXB-RI data binding. The correct soap envelope for the response should look like this: http://schemas.xmlsoap.org/soap/envelope/";> http://my.company.com";>.. But i'm not 100% sure if it does because i can't monitor the correct response due to the Excepti

Does wsdl2java delete toString method?

2008-01-10 Thread Sam
Hi, I'm trying to override the toString method in beans re-generated by wsdl2java and it seems to be deleting this code. Is it an expected behaviour or there is something wrong with my code? Thanks in advance for your help! - To

Re: WSDL XSD Schema Importing...

2008-01-10 Thread silver17
As an addition to this discussion, if instead of trying to reference the http://localhost/app/services/RegistryPublish.wsdl i get the following error: http://www.nabble.com/file/p14736457/serviceError.jpg silver17 wrote: > > Hi Guys, > > I've searched a lot of these forum posts and haven't be

Re: [Axis2] NPE in HttpCoreNIOSender

2008-01-10 Thread Andreas Veithen
Hi Mechele, This issue is indeed strictly related to connection timeouts. I remember that there were other issues with NPEs in HTTPCoreNIOSender. These were resolved in the meantime, but probably those corrections have not yet been propagated to Axis2. It would be interesting to know whic

Re: Complex type problem

2008-01-10 Thread jin1212
I'm having the same problem also when I deserialize. The string field all contains the same value from the first attribute. Vasilis wrote: > > Anna, > > Thank you a lot for your help. > I tried it and i get another error :-). The client can't deserialize > correctly the response. I send a re

RE: [axis2] empty xmlns

2008-01-10 Thread Henry Duc de Cagade de Branlou
Hi, No, the operation is Document/Literal... Why? > Date: Thu, 10 Jan 2008 11:13:58 +0200> From: [EMAIL PROTECTED]> To: > axis-user@ws.apache.org> Subject: Re: [axis2] empty xmlns> > > Hello,> is the > operation you are invoking RPC?> > Greetings, Angel> > > Henry Duc de Cagade > de Branl

Re: [Axis2] RuntimeException when using SOAPMonitor

2008-01-10 Thread robert lazarski
What SOAP version (1.1 or 1.2) and databinding are you using? You seem to missing a uri in your envelope. All the soap monitor does is convert the soap envelope to a string, and this error seems to be deep into axiom. Seems to be failing around this code: http://svn.apache.org/viewvc/webservices/c

Re: WSDL XSD Schema Importing...

2008-01-10 Thread silver17
To answer your first question, yes it was a typo. I can also validate the wsdl and xsd's fine in eclipse, and when i set up the web service I can hit it and return a response using SOAPUI. Mauro Molinari wrote: > > silver17 ha scritto: >> "http://localhost:8080/app/services'.: java.io.FileN

Re: How to remove mustUnderstand attribute?!

2008-01-10 Thread Martin Gainty
re-submit your inquiry using the king's english Regards - Original Message - From: "westpine" <[EMAIL PROTECTED]> To: Sent: Thursday, January 10, 2008 7:54 AM Subject: How to remove mustUnderstand attribute?! > > What a hell is mustUnderstand attribute?! I'm creating client to 3d party

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

2008-01-10 Thread Gaurav Lall
Hi Amila Thanks will try with nightly build and let you know. Just want to check with you not sure how the nightly works should i be taking the build which is out there with modified date 10-Jan-2008 11:50 (http://people.apache.org/dist/axis2/nightly/) or do i need to wait for the build to

Re: [Axis2] NPE in HttpCoreNIOSender

2008-01-10 Thread Paul Fremantle
Michele You might want to check the latest Synapse code from the QA 1.1.1 build. I know that Asankha usually prototypes his improvements in Synapse first and then ports them over to Axis2. Paul On Jan 10, 2008 1:57 PM, Michele Mazzucco <[EMAIL PROTECTED]> wrote: > Andreas, > > my problem looks q

Re: Axis2 Writing Custom Phase Handlers

2008-01-10 Thread Martin Gainty
You can use org.apache.axis2.dispatchers.AddressingBasedDispatcher.java as a model then in axis2.xml configure the handler as in where the handler is configured into the engine as a Phase as in this example which is then configured in phaseOrder of InFault,OutFault,InFaultFlow or OutFaultFlo

[Axis2] RuntimeException when using SOAPMonitor

2008-01-10 Thread home . andi
Hi Axis2 users, i have implemented a very simple Axis2 webservice (request-response), which works correct as long as i don't use SOAPMonitor. When I integrate SOAPMonitor into my Axis2 web-application, i get the following RuntimeException (mapped to an axis2fault) at the webservice response: "j

Re: [Axis2] NPE in HttpCoreNIOSender

2008-01-10 Thread Michele Mazzucco
Andreas, my problem looks quite similar to JIRA Synapse-205 [1], the difference is that the second row of the stack trace is "failed" and not "timeout". Michele [1] http://issues.apache.org/jira/browse/SYNAPSE-205 On 10 Jan 2008, at 13:23, Andreas Veithen wrote: Hi Michele! I think th

Re: Axis2 Writing Custom Phase Handlers

2008-01-10 Thread Michele Mazzucco
Deepak, if you can get a reference to the configuration context you can do something like this: AxisService service = Utils.createSimpleService(new QName("EchoXml"), new RawXMLINOutMessageReceiver(), EchoXML.class.getName(), ne

Re: [Axis2] NPE in HttpCoreNIOSender

2008-01-10 Thread Andreas Veithen
Hi Michele! I think the NIO HTTP code in Axis2 actually comes from the Apache Synapse project. There were several issues about NPEs reported for Synapse. Maybe you can search the JIRA issues to see if your particular issue has already been solved in Synapse. Regards, Andreas Quoting Mic

How to remove mustUnderstand attribute?!

2008-01-10 Thread westpine
What a hell is mustUnderstand attribute?! I'm creating client to 3d party server and after migrating from axis1.4 to axis2 I found this strange attrib added to the header elements of my SOAP request. How to get rid of it? -- View this message in context: http://www.nabble.com/How-to-remove-mustU

Axis2 Writing Custom Phase Handlers

2008-01-10 Thread Deepak Vishwakarma
Hi, I am using IBM Websphere Application Server and Web Service Feature Pack version 6.1. I want to write a custom handler which I have to inject it in Axis2 Soap Engine Phases. I could get some material but they were not helpful enough since i don't want to use the module approach, i just ne

[Axis2] NPE in HttpCoreNIOSender

2008-01-10 Thread Michele Mazzucco
Hi all, I'm unit testing some code and I see a NPE in the HTTPCoreNIOSender. The stack trace is the following: Exception in thread "HttpCoreNIOSender" java.lang.NullPointerException at org.apache.axis2.transport.nhttp.HttpCoreNIOSender$2.handleError (HttpCoreNIOSender.java:442) at org.apac

Re: Example code for WS-SecureConversation implementation using Rampart in Axis2

2008-01-10 Thread Nandana Mihindukulasooriya
Hi Bhushan, Rampart distribution has a sample which demonstrate the secure conversation usage. It has a complete service and client implementation which you can run using a ant script. Source can be found here [1] . And please post any questions you have in the Rampart mailing

Re: [axis2] empty xmlns

2008-01-10 Thread Angel Cholchev
Hello, is the operation you are invoking RPC? Greetings, Angel Henry Duc de Cagade de Branlou wrote: Hello, Thanks for you reply. I already have an elementFormDefault="qualified" defined at the beginning of my xsd file. But it still doesn't work. Should this attribute be put somewh

RE: [axis2] empty xmlns

2008-01-10 Thread Henry Duc de Cagade de Branlou
Hello, Thanks for you reply. I already have an elementFormDefault="qualified" defined at the beginning of my xsd file. But it still doesn't work. Should this attribute be put somewhere else in my xsd file ? Thx > Date: Wed, 9 Jan 2008 12:13:22 -0500> From: [EMAIL PROTECTED]> To: > a

Re: Error while invoking the axis service through PHP NUSoap

2008-01-10 Thread Antonio Manuel Muñiz Martín
Hi. I see this in stack trace: org.apache.axis2.AxisFault: Please implement org.presci.echo.service.EchoServiceSkeleton#echo_operation This seems axis default empty skeleton message. Did you generate the service aar with the correct code, perhaps you generated the aar with an old code... Bye. An

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

2008-01-10 Thread Amila Suriarachchi
can you please try with a nighly build. Now axis2 directly use the xmlbeans serialization. thanks, Amila. On Jan 9, 2008 1:16 PM, Gaurav Lall <[EMAIL PROTECTED]> wrote: > Hi all , > > We are doing migration to axis2 from axis1, we are using xmlnbeans as data > binding. mechanism.I am using axi

Re: WSA Action = null for endpoint...

2008-01-10 Thread Philipp Leitner
If you have a SOAP-based endpoint (i.e., either SOAP 1.1 or 1.2 binding) then you just can't invoke the service using your browser. The service expects a well-formed SOAP input, while your browser only sends a simple HTTP GET request. If you have deployed your service using Axis2 and the stand