Re: from axis 1.2 RC invoking .net web service getting NullPinterException

2007-10-07 Thread Lahiru Sandakith
Hi Santosh, great that you have resolved the problem, please do keep in mind is that the latest version of the axis2 which is 1.3contains more bug fixed and improvemnets than 1.2 RC that you are using in both in tools and axis2 engine. thanks Lahiru On 10/5/07, sh_santosh <[EMAIL PROTECTED]> wrote

Re: Compiling Eclipse plugins: story of my frustration

2007-10-07 Thread Lahiru Sandakith
Hi With the current source on axis2 trunk maven2 build is working fine and actually 1.3 was released with that. Actually the ant build is now out of the date. After your JIRA we ll update the docs ASAP. For the maven2 build, if you go in to /module/tools/axis2-eclipse-* ( two plugins ) and do mvn

Re: [axis2] Fine grained control over WSDL generated with java2wsdl

2007-10-07 Thread Dennis Sosnoski
Jibx2Wsdl (http://www.sosnoski.com/jibx-wiki/space/axis2-jibx/jibx2wsdl) is a more powerful and effective alternative to Java2Wsdl, even if you don't want to use JiBX data binding for your service implementation. It allows you to specify which properties (or fields) are or are not included in the d

Re: AXIS2 WSDL2Java (ADB) - XSDs with elementFormdefault=qualifed

2007-10-07 Thread Amila Suriarachchi
On 10/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hello, it appears this problem had been reported before in apache.org/jirabut > has gone unresolved. I currently have schemas that have this setting > specified but within the SOAP body the elements are missing the namepace > prefix.

Re: org.xml.sax.SAXParseException: The prefix "ns1" for element "ns1:modifyMe" is not bound.

2007-10-07 Thread Huitang Li
Hi, This problem looks like resin-specific. It seems that without resin jars loaded, the code runs ok. However, when the resin jars are loaded, the soap message is not correctly created. Will anyone please take a look? Thanks. Huitang Li wrote: I tested with a public accessible web service

Re: Python message receiver for Axis2/Java

2007-10-07 Thread Saliya Ekanayake
Hi, Python services would be cool ! I worked on the particular JavaScript messageReceiver with Rhino. So here goes few tips to start with. 1. Write Java code using Jython to execute a python script containing just a function. (You can pass a string into the function and return a string too)

Re: OMElement problem

2007-10-07 Thread Upul Godage
That should be, System.out.println(myOMElement.toStringWithConsume()); Most probably you have a response element as the top element. Upul On 10/8/07, Upul Godage <[EMAIL PROTECTED]> wrote: > > Hi, > > You can print out the OMElement and see how you get the element at that > moment in your code.

Re: org.xml.sax.SAXParseException: The prefix "ns1" for element "ns1:modifyMe" is not bound.

2007-10-07 Thread Huitang Li
I tested with a public accessible web service, and it has the same result. If you want to test it out, please see the web service http://www.tilisoft.com/ws/LocInfo/ZipCode.asmx You can get its wsdl here: http://www.tilisoft.com/ws/LocInfo/ZipCode.asmx?WSDL Follow the steps of Axis2 1.3 to gener

Re: OMElement problem

2007-10-07 Thread Upul Godage
Hi, You can print out the OMElement and see how you get the element at that moment in your code. System.out.println(myOMElement); Upul On 10/8/07, jerome.mariette <[EMAIL PROTECTED]> wrote: > > > > Hi everybody, > I have a little probleme reading messages I got back from my web service: > This

How to implement the x.509 protocol in the axis2?

2007-10-07 Thread ianwong
Please give me some examples regarding implemenation the x.509 protocol in the axis2. Thank you !!! -- View this message in context: http://www.nabble.com/How-to-implement-the-x.509-protocol-in-the-axis2--tf4585419.html#a13089321 Sent from the Axis - User mailing list archive at Nabble.com.

OMElement problem

2007-10-07 Thread jerome.mariette
Hi everybody, I have a little probleme reading messages I got back from my web service: This is the OMElement I'm sending back OMFactory fac = OMAbstractFactory.getOMFactory(); OMNamespace omNs = fac.createOMNamespace("http://server.webservice.aved.mbari.org";, "ns1"); OM

Re: Problem with ConverterUtil convertTo* methods and empty XML tag

2007-10-07 Thread Jozef Krssak
Hi Element definition in schema: Type "wsct:WSTypeDate" is in other schema as: Element in XML: Another one example: Thanks and Regards -- Jozef Krssak On 10/5/07, Amila Suriarachchi <[EMAIL PROTECTED]> wrote: > > Can you send a sample s

Re: Compiling Eclipse plugins: story of my frustration

2007-10-07 Thread Martin Gainty
Jira created for bug with target folder not created for 2-1.3 https://issues.apache.org/jira/browse/AXIS2-3250 BTW I could'nt reproduce the error with SAAJ Test I went to the SAAJ test and ran the Attachment test individually %AXIS2_HOME%\modules\saaj\mvn install afterwards when I run mvn from th

Re: Compiling Eclipse plugins: story of my frustration

2007-10-07 Thread Thilina Gunarathne
Hi, > I believe that environment has been reworked as the unit tests for > attachment are problematic Which test?? Please provide more details so that we can fix them.. I do not understand why u needed to do all the following manualy.. What's the specific reason?. If there are any they need to be

RE: Error when using XPath to parse element...

2007-10-07 Thread Anil John
Disregard please.. Got it working with the following: String xpathString = "//u:providerInfoRequest/u:consumerId"; AXIOMXPath xpathExpression = new AXIOMXPath(xpathString); xpathExpression.addNamespace("u", "urn:my:schema:messages:2007-01-01"); String consumerIdValue = xpathExpression.stringValue

Re: AxisCallback vs. the deprecated Callback

2007-10-07 Thread Huitang Li
Thanks for your input. I saw the thread you mentioned before I sent out my question to the list. However, I cannot see the solution to the question. The main thread can be finished before the spawning thread finishes getting the response from the web service server. Also, in axis2 1.3 sample co

Re: Compiling Eclipse plugins: story of my frustration

2007-10-07 Thread Martin Gainty
I believe that environment has been reworked as the unit tests for attachment are problematic I would download 2.1.3 and start with that with these tweaks cd %AXIS2_HOME%\modules\webapp @echo "install version.aar" mvn install:install-file -DgroupId=org.apachexis2 -DartifactId=version -Dversion=

Re: questions regarding axis2 war

2007-10-07 Thread ianwong
Yes, it really confuesed me. The result is quite differnt with others service engine. I always think it is a mistake not a normal situation Thanks! Thilina Gunarathne wrote: > > AFAIK axis2 does not list anything at the raw EPR address... Ideally > it should have come up with a page with de

Re: Compiling Eclipse plugins: story of my frustration

2007-10-07 Thread Thilina Gunarathne
Maven 2 build is there on 1.3 release and in the svn head. Earlier releases were on maven1.. ~Thilina On 10/7/07, Seref Arikan <[EMAIL PROTECTED]> wrote: > > I've started with maven2 actually. I've checked out the previous releases, > and at the moment, the build doc seems to be completely out o

Re: questions regarding axis2 war

2007-10-07 Thread Martin Gainty
please display which aar have been deployed in /WEB-INF/services/services.list Thanks M-- - Original Message - From: "Suran Jayathilaka" <[EMAIL PROTECTED]> To: Sent: Sunday, October 07, 2007 9:30 AM Subject: Re: questions regarding axis2 war > ianwong wrote: > > I doployed axis2 war in

Re: Compiling Eclipse plugins: story of my frustration

2007-10-07 Thread Seref Arikan
I've started with maven2 actually. I've checked out the previous releases, and at the moment, the build doc seems to be completely out of sync with the source tree. I'll put a jiraa for it. Thilina Gunarathne wrote: I can see a pom.xml in there. The plugin build seems to be moved to maven

Re: questions regarding axis2 war

2007-10-07 Thread Thilina Gunarathne
AFAIK axis2 does not list anything at the raw EPR address... Ideally it should have come up with a page with details about the services. Type the following in the browser to invoke the getVersion operation. http://localhost/axis2/services/Version/getVersion thanks, Thilina On 10/7/07, ianwong <

Re: Compiling Eclipse plugins: story of my frustration

2007-10-07 Thread Thilina Gunarathne
I can see a pom.xml in there. The plugin build seems to be moved to maven2 after the recent migration of Axis2 from maven1 to maven2.. Install maven2 and try typing mvn install in the plugin dir. I'm not sure whether you'll need to do a full Axis2 build before that. Please put a jira for the inco

Re: Calling Axis2 services from GWT

2007-10-07 Thread Martin Gainty
Be careful with that as you may not get the correct results What I would do is transform to text/plain Here is the GWT doc The back-end server is expected to respond with a content-type of 'text/html', meaning that the text returned will be treated as HTML. If any other content-type is specifie

Re: AxisCallback vs. the deprecated Callback

2007-10-07 Thread Suran Jayathilaka
Huitang Li wrote: Hi, I created a web service client following Async/One Channel model using axis2-generated stub. In the stub code, AxisCallback interface is used. For almost all tests, no soap message response is received before the client is finished. This is verified with the help of the

Re: questions regarding axis2 war

2007-10-07 Thread ianwong
I tried two servers: tomcat 5.5 and tomcat 6.0 The address I visit are: Service EPR : http://localhost/axis2/services/Version Service REST epr : http://localhost/axis2/services/Version When I visited http://localhost/axis2/services/Version, it got the message: Please enable REST support in WEB-

Re: questions regarding axis2 war

2007-10-07 Thread Suran Jayathilaka
ianwong wrote: I doployed axis2 war into my applicaiton, and visited Service EPR address and Service REST epr address. Both address got error message as following: I can not find a service for this request to be serviced. Check the WSDL and the request URI but the wsdl is work well, http://loc

Re: Library not found

2007-10-07 Thread Suran Jayathilaka
Fátima Milla Olaya wrote: I have changed build.xml for compiling the skeleton.java but when I run the client of the web service I got an axis fault of the library open source so I included all the jars of the library in the folder lib of axis2 then it runs well, but I don't think that it's rigo

questions regarding axis2 war

2007-10-07 Thread ianwong
I doployed axis2 war into my applicaiton, and visited Service EPR address and Service REST epr address. Both address got error message as following: I can not find a service for this request to be serviced. Check the WSDL and the request URI but the wsdl is work well, http://localhost/axis2/ser

Re: Compiling Eclipse plugins: story of my frustration

2007-10-07 Thread Seref Arikan
Hi Martin, I believe my problem is that I can't do maven create-lib How do I do this? When I issue this in console in windows xp, maven says this is not a valid request. ant generate-projects in tools dir fails, since it can not find a libs directory, which I assume will be created by maven, bu