Re: WSDL2Java Exception with nested binding & schema files

2007-06-20 Thread david2
I was finally able to get past the WSDL2Java exception and managed to get a web service running that utilized nested objects, nested schema files and nested binding files. However, now I find that I can build a web service request using a parent object/type or its children, but never a parent AND

WSDL2Java Exception with nested binding & schema files

2007-06-19 Thread david2
I was running into a different WSDL2Java CodeGenerationException while working with nested binding files and a WSDL that uses nested schemas. Our WSDL is pretty simple and imports an external schema, but that schema is fairly complex and includes of other schemas. Also, our binding files are pr

Re: [Axis2] Axis2 1.2 JiBX update

2007-06-18 Thread david2
Dennis, I downloaded your updated "axis2-jibx-1.2b.jar" replacement for axis2-jibx-1.2.jar and was unable to run your jibx-library example with it. It generated the following exception (and, strangely enough, a "BUILD SUCCESSFUL" Ant message): ant run Buildfile: build.xml run: [java] Exce

Re: unable to engage the addressing module

2007-05-16 Thread david2
Michele, Found the issue: Windows XP was interpreting my addressing.mar file as a Microsoft Access shortcut file and not displaying the ".MAR" extension, hence a file search didn't find it. Once I removed the *.MAR file type in Windows Explorer Folder Options and recreated it as a WinZip file t

Re: unable to engage the addressing module

2007-05-16 Thread david2
Michele, I was trying to run your StressTest.java related to JIRA issue [AXIS2-2593], and I am having the same addressing AxisFault you were having here. How were you ever able to get past it? I do not see an addressing.mar file anywhere in my snapshot or in the 1.1.1 or 1.2 formal releases. W

Re: [Axis2] Axis2 1.2 RC2 Released - SOAP problem

2007-05-09 Thread david2
Alistair, I just encountered this, too. My *.aar ran fine in Wondows XP, but gets the same "First Element must contain the local name, Envelope" error when I tried to run it under Linux. However, I am only using a single WSDL with an imported XSD file. Is there any was around inserting the XSD

Re: To many open connections

2007-04-26 Thread david2
Here is a web site Michele pointed me to addressing this OS limitation and workarounds for Windows, AIX, & Solaris: http://publib.boulder.ibm.com/infocenter/cmgmt/v8r3m0/index.jsp?topic=/com.ibm.eclient.doc/trs40019.htm On Windows XP, I used TcpTimedWaitDelay=30 and MaxUserPort=65535 -David --

Re: axis2 in tomcat, java.net.BindException: Address already in use:

2007-04-26 Thread david2
Here is a web site Michele pointed me to addressing this OS limitation and workarounds for Windows, AIX, & Solaris: http://publib.boulder.ibm.com/infocenter/cmgmt/v8r3m0/index.jsp?topic=/com.ibm.eclient.doc/trs40019.htm On Windows XP, I used TcpTimedWaitDelay=30 and MaxUserPort=65535 -David --

WORKAROUND to BindException in axis client

2007-04-26 Thread david2
In the bug report (AXIS2-2593) Michele's comments point out a link to a link to a link that identified a workaround. To clarify, this is a workaround to the AxisFault caused by the BindException "Address already in use: connect" generated when you very rapidly send messages to a web service (usua

Re: BindException in axis client

2007-04-25 Thread david2
See comments below. -David > Can you please post the full stack trace? Here it is: Exception in thread "main" org.apache.axis2.AxisFault: Address already in use: connect at org.apache.axis2.AxisFault.makeFault(AxisFault.java:377) at org.apache.axis2.transport.http.HTTPSender.se

Re: BindException in axis client

2007-04-25 Thread david2
Michele, I have been trying to get your recommended code to work, but my web service also throws an Axis Fault right at the 4000th web service request: Exception in thread "main" org.apache.axis2.AxisFault: Address already in use: connect I ran netstat and noticed that I have over 1400 con

Re: Cannot Find Symbol receiveResultpublishElint()

2007-04-23 Thread david2
Here is the form/function of my WSDL: http://company.com/project/services"; xmlns:svc="http://company.com/project/services"; xmlns:persist="http://company.com/project/data"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/";>

Re: Cannot Find Symbol receiveResultpublishElint()

2007-04-18 Thread david2
Strangely enough, it looks like the difference between the Axis2 examples that successfully implement out-only messages and mine is that the Axis2 examples use the "generate synchronous methods only" option turned on. In the ant wsdl2java java command line task, this is done as follows:

Cannot Find Symbol receiveResultpublishElint()

2007-04-18 Thread david2
I am building an Axis2 web service whose WSDL defines a single message with only a single input. When I run the WSDL2Java ant task, I get the following error message: cannot find symbol [javac] symbol : method receiveResultpublishElint() The java code generated by WSDL2Java ge

Re: Validation Error with library.wsdl in Example

2007-04-11 Thread david2
Anil, What exactly is being overwritten? I'm new at this, but I believe that the Skeleton is the only thing you should be providing if you are using WSDL2Java. All of the other classes that are generated by WSDL2Java should be used as-is. -David -- View this message in context: http://www.na

Re: [Axis2] JiBX unwrapped with Fault example

2007-04-11 Thread david2
Dennis, One other thing: after I successfully ran the web service generated by the library example, I added a simple unmarshall/marshall target to the build.xml. However, I can't get an XML file containing a Type element to successfully marshall or unmarshall. This is the ant target I am using

Validation Error with library.wsdl in Example

2007-04-11 Thread david2
Dennis, Bless you my son for the incredible insight you have provided in this example. I had wrestled with the issue of JiBX mapping for non-trivial types for many hours before I stumbled on your example. I am well on my way now. One thing: Although I can get your example to work, and I have

Re: Ant wsdl2java & command line WSDL2Java generate different code

2007-03-28 Thread david2
Answer to my question #3: Use the Ant java task. This behaves the same way as the User Guide example (no Skeleton Interface, nor references to it) and, best of all, the Client successfully executes against the resulting aar. Here are the tasks for generating the service aar file. Note the copi

Ant wsdl2java & command line WSDL2Java generate different code

2007-03-28 Thread david2
I have been working with the Axis2UserGuide.wsdl example to find a suitable way to automate our Axis2 web service builds from ant. I successfully generated the client using the batch file (%AXIS2_HOME%\bin\wsdl2java...). I have also successfully generated the service from the java class (java or