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
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
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
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
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
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
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
--
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
--
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
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
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
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/";>
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:
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
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
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
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
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
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
19 matches
Mail list logo