Mailing List
Home
Forum Home
Maven - Project building tool
Axis - Java SOAP implementation
Lucene - Full-featured text search engine APIs
Cocoon - MVC web framework based on XML/XSL
Fop - Create PDF, PCL, PS, SVG, XML driven by XSL formatting objects.
Log4J - A log library
POI - Java Excel, Word and other Microsoft Office files manipulating library
Oracle database error code ...
Subjects
log4j warning: No appenders could be found
java security AccessControlException: access denied (java io FilePermission clie
java lang InstantiationException: org apache tools ant Main
Apache Axis Tutorial
Subject: Struts <logic iterate >
log4j properties How to parse outpu to multiple files
configuring log4j with BEA Weblogic 8 1
How to use XSL FOP Java together
JSP precompile
Proposal: Adding jar manifest classpath in jar and war plugins
Servlet File Download dialog problem (IE6,Adobe 6 0)
java security AccessControlException: access denied (java io FilePermission
Unsupported major minor version 48 0 problem while running the an
   telope task
Subject: axis wsdl2java Ant Task usage
net sf hibernate MappingException: Error reading resource: test/User hbm xml
Building EAR ANT Script for websphere 5 0
CREATING WAR Files
Classpath problem
jsp data into Excel
Jboss 3 2 3+ vs Tomcat Axis Question
RE: How to include jars and add them into the MANIFEST MF/Class Path
attribute
Printing problem
Subject: InstantiationException
Couldn 't find trusted certificate
Please : How can one install ant 1 6 0 under Eclipse 2 1 ?
Excel: Too many different cell formats
Subject: AXIS: tomcat timeout ?
1 3 final: now giving me java io FileNotFoundException (Too many
open files)
XDoclet, Struts and Maven: Where to start? SOLUTION
Subject: Running junit tests fails
 
Strange generated java class names

Strange generated java class names

2007-12-03       - By Amila Suriarachchi

 Back
Reply:     1     2     3  

On Nov 23, 2007 11:41 AM, Simon Steinacker <
simon.steinacker@(protected)> wrote:

> Yes, I am using Axis2.
> This is the WSDL: http://pastebin.com/m1c167821
>

Please have a look at with a SNAPSHOT.  here the problem is you have an
element called
findDocumentsResponse and a complexType called findDocumentsResponse so we
have to rename one.

But I changed this in trunk like this. if both element and complex type in
same package  the element name would have an suffix E. and if they are in
different packages then have the original name.
thanks,
Amila.

>
> Thanks,
> Simon
>
>
> Amila Suriarachchi wrote:
> > Are you using Axis2?
> > Can you send your wsdl?
> >
> > thanks,
> > amila.
> >
> > On Nov 22, 2007 3:31 PM, Simon Steinacker
> > <simon.steinacker@(protected)> wrote:
> >
> >> Hello,
> >>
> >> I have a wsdl and generate java classes out of it using the wsdl2java
> >> ant task. For example I have defined a response message named
> >> 'FindDocumentsResponse'. Axis2 generates the java class for that, but
> >> performs a renaming into something like 'FindDocumentsResponse11'. So
> it
> >> seems that it somehow appends a random number to the generated
> response.
> >> This only seems to be the case with service responses, since parameters
> >> are not affected by that phenomenon.
> >> Is there a way to circumnavigate this issue? Because it is rather
> >> inconvenient to use?
> >>
> >> Thanks for your help!
> >> Simon
> >>
> >> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> >> To unsubscribe, e-mail: axis-user-unsubscribe@(protected)
> >> For additional commands, e-mail: axis-user-help@(protected)
> >>
> >>
> >>
> >
> >
> >
> >
>
>
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> To unsubscribe, e-mail: axis-user-unsubscribe@(protected)
> For additional commands, e-mail: axis-user-help@(protected)
>
>


--
Amila Suriarachchi,
WSO2 Inc.

<br><br><div class="gmail_quote">On Nov 23, 2007 11:41 AM, Simon Steinacker &lt
;<a href="mailto:simon.steinacker@(protected)">simon.steinacker@(protected)
.uibk.ac.at</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left
: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Yes, I am using Axis2.<br>This is the WSDL: <a href="http://pastebin.com
/m1c167821" target="_blank">http://pastebin.com/m1c167821</a><br></blockquote>
<div><br>Please have a look at with a SNAPSHOT.&nbsp; here the problem is you
have an element called
<br><span class="sc3"><span class="st0">findDocumentsResponse and a complexType
called </span></span><span class="sc3"><span class="st0">findDocumentsResponse
so we have to rename one.<br><br>But I changed this in trunk like this. if both
element and complex type in same package&nbsp; the element name would have an
suffix E. and if they are in different packages then have the original name.
<br>thanks,<br>Amila. <br></span></span></div><blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex;
padding-left: 1ex;"><br>Thanks,<br><font color="#888888">Simon<br>
</font><div><div></div><div class="Wj3C7c"><br><br>Amila Suriarachchi wrote:<br
>&gt; Are you using Axis2?<br>&gt; Can you send your wsdl?<br>&gt;<br>&gt;
thanks,<br>&gt; amila.<br>&gt;<br>&gt; On Nov 22, 2007 3:31 PM, Simon
Steinacker
<br>&gt; &lt;<a href="mailto:simon.steinacker@(protected)">simon
.steinacker@(protected)</a>&gt; wrote:<br>&gt;<br>&gt;&gt; Hello,<br>&gt;
&gt;<br>&gt;&gt; I have a wsdl and generate java classes out of it using the
wsdl2java
<br>&gt;&gt; ant task. For example I have defined a response message named<br>
&gt;&gt; &#39;FindDocumentsResponse&#39;. Axis2 generates the java class for
that, but<br>&gt;&gt; performs a renaming into something like &#39
;FindDocumentsResponse11&#39;. So it
<br>&gt;&gt; seems that it somehow appends a random number to the generated
response.<br>&gt;&gt; This only seems to be the case with service responses,
since parameters<br>&gt;&gt; are not affected by that phenomenon.<br>
&gt;&gt; Is there a way to circumnavigate this issue? Because it is rather<br>
&gt;&gt; inconvenient to use?<br>&gt;&gt;<br>&gt;&gt; Thanks for your help!<br>
&gt;&gt; Simon<br>&gt;&gt;<br>&gt;&gt; -- ---- ---- ---- ---- ---- ---- ---- ---
-- ---- ---- ---- ---- -----
<br>&gt;&gt; To unsubscribe, e-mail: <a href="mailto:axis-user-unsubscribe@(protected)
.apache.org">axis-user-unsubscribe@(protected)</a><br>&gt;&gt; For additional
commands, e-mail: <a href="mailto:axis-user-help@(protected)">
axis-user-help@(protected)</a><br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;<br
>&gt;<br>&gt;<br>&gt;<br><br><br>-- ---- ---- ---- ---- ---- ---- ---- ---- ----
-- ---- ---- ---- ----<br>To unsubscribe, e-mail: <a href="mailto:axis-user
-unsubscribe@(protected)">
axis-user-unsubscribe@(protected)</a><br>For additional commands, e-mail: <a
href="mailto:axis-user-help@(protected)">axis-user-help@(protected)</a><br>
<br></div></div></blockquote></div><br><br clear="all"><br>-- <br>
Amila Suriarachchi,<br>WSO2 Inc.