>>-Original Message-
>>From: Jarmo Doc [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, 10 November 2005 5:52 p.m.
>>To: axis-user@ws.apache.org
>>Subject: RE: When to use undocumented wsdl2java --wrapArrays?
>>
>>Thanks for the comprehensive answer Pete.
>>
>>Having switched to using wrappe
I have a message style web service with 2 operations like below :
server-config.wsdd
--
--
CatalogPublisherService.java has below method signatures:
public Element[] publishCatalog(Element[] inputEle
Hi,
The error (regarding the Axis2 problem) tells me that the generated
XMLBeans stuff is not correctly in the classpath. The
schema_x_xmlbeans folder needs to be in the classpath rather
than the source path. In the latest code I've added some enhancements ,
particularly the feature of gene
Title: SEC:U Java2WSDL converts String arrays to strings
Hi,
I am trying to convert an RPC/Encoded service to a "WRAPPED" style service.
I used Java2WSDL on the Java Interface and supporting classes.
I was very surprised to see that class members of the form:
String[] collections;
Thanks for the comprehensive answer Pete.
Having switched to using wrapped arrays (and changing server code, client
code, and WSDL!) my code now works. I was surprised to find that I had to
change the server-side code so that each class contained an ArrayOfXXX
rather than XXX []. Without thi
Problem appears to have been that the web service was sending unwrapped
arrays yet the client was expecting wrapped arrays. Strange that this
yielded undefined behavior rather than a helpful diagnostic such as, oh I
don't know, "Received unwrapped array, expected wrapped array" ;-)
From: "J
Cross-posted to soapbuilders for input from the pros :-)
>>From: Jarmo Doc [mailto:[EMAIL PROTECTED]
>>Subject: When to use undocumented wsdl2java --wrapArrays?
>>
>>I note that Axis 1.3 wsdl2java supports an undocumented option:
>>--wrapArrays. I can see that it causes MyClass [] to be wrapped
Hello All,
I'm getting an IllegalArgumentException in the server while
deserializing an array of array ([][]) object. Axis is calling the
setter method with an array([]) where as the method expects an array of
array([][]).
I'm using wsdl2java for generating both the server and client side
Hi Routis;
1)I think if you copy the content of the war to yours and preserve the
structure it should work.
2) if you need to add a service via the deployment module it should
agree with the aar file format. But if you have the classes in the
classpath if you just have service.xml file in the aa
Is it possible to hide a exposed mutator on a public interface when it
is presented to a client?
i.e.
Package foo;
Public class Bar
{
private String field;
public void setField(String field)
{
this.field = field;
}
public String getField(
Hi,
I've declared a simple type that's a enumeration of string values (See
below). I use it later to define an element and say the element is
nillable. When I get a nil element, the deserialization process throws
an IllegalArgumentException: it's trying to find the empty string in the
list of provi
Hi Anne,
Thanks for the reply, I found that out
as well. I just made it a ext string.
Thanks,
Parikh,
Pratik
From: Anne Thomas Manes
[mailto:[EMAIL PROTECTED] Sent: Wednesday, November 09, 2005 5:27
PMTo: axis-user@ws.apache.orgSubject: Re: Any Type
Problem!! Please Read.
This is
Please post your WSDL.
The namespace for the parameter would be the targetNamespace for your schema that defines the parameter element.
AnneOn 11/9/05, Jalenak, Jerry <[EMAIL PROTECTED]> wrote:
Found some information on this. In the
org.apache.axis.client.Call.invoke method, the fi
This is a user question, not a developer question. In the future,
please send user questions only to the user list. the developer list is
for discussion of the Axis code base.
There are some issues with your complex type definition:
1. You have a group with no choice.
2. You don't define a data
the bug i promised i'd post:
http://issues.apache.org/jira/browse/AXIS-2235
From: Dovholuk, Clint
[mailto:[EMAIL PROTECTED] Sent: Wednesday, November
09, 2005 12:02 PMTo: axis-user@ws.apache.orgSubject: RE:
Encountered illegal extension element 'types' in the context of a
'javax.wsdl.Defin
What's the exception?
Can you post the WSDL?On 11/9/05, Gupta, Praful <[EMAIL PROTECTED]> wrote:
Hey Guys,
I am a newbie to using AXIS.
I tried using the WSDl2Java tool to generate some client stubs from a WSDL file
but keep getting a SAX Exception error. I tried installing differe
Is it possible to deploy axis2 in my own war (as I was able to do with
axis1) ?
I ask this question because I need to implement a Document/Literal web
service, for an existing J2I application, that runs in a server that I
don't have the luxury of adding extra wars.
Additionally, If the answe
Yes,
This is already entered as a bug.
http://issues.apache.org/jira/browse/AXIS-2235
This seems pretty critical to me, since the generated WSDL is invalid
and therefore unusable.
On 11/9/05, Dovholuk, Clint <[EMAIL PROTECTED]> wrote:
>
> fyi, i've already filed a bug on this. i went looking fo
Hey Guys,
I am a newbie to using AXIS.
I tried using the WSDl2Java tool to generate some client stubs from a WSDL file
but keep getting a SAX Exception error. I tried installing different versions
of Xerces parser in case it did not work with the XML Schema version used to
create the WS
Title: Any Type Problem!! Please Read.
Hi Everyone,
I have a data type call PNCerner, which is as following:
Found some information on this. In the
org.apache.axis.client.Call.invoke method, the first parameter is
operationName.getNamespaceURI(). Looking at the object, my namespaceURI is
null. I’ve a feeling that this is the problem, but after looking at the
WSDL, it’s not apparent to me where
Hi all,
I’ve got a webservice developed using Axis 1.3 with a
Document Literal Wrapped WSDL. I’m getting an
InvocationTargetException in my SoapBindingStub when Axis is being
called. Here’s the code –
public webservice.client.CpeProperties[]
listCPE(webservice.client.ListCPE p
Title: Binding is not getting called
Hi Everyone,
Please ignore this thread, as it is
getting called but I had a breakpoint set on a final static variable. But since
it was called already once in the process thread it never went to
that.
Thanks,
Pratik Parikh
From: Parikh,Pratik
I note that Axis 1.3 wsdl2java supports an undocumented option:
--wrapArrays. I can see that it causes MyClass [] to be wrapped as
ArrayOfMyClass.
When would it be sensible to use this option? I don't see how wrapping an
array of trivial things in another class serves any useful purpose.
T
Title: Binding is not getting called
Hi Everyone,
Yet another problem that I am running into, I have a the following in server-config.wsdd:
I'll be happy to file a bug on this, but does this seems like very
basic functionality. If something this basic doesn't work, how can
people be using Axis in production? Not trying to critize, I'm just
trying to understand the scope of this bug.
On 11/9/05, Anne Thomas Manes <[EMAIL PROTECTED]>
fyi, i've already filed a bug on this. i went looking for
the link, but jira is really slow... will post when jira
responds...
From: Anne Thomas Manes
[mailto:[EMAIL PROTECTED] Sent: Wednesday, November 09, 2005 11:59
AMTo: axis-user@ws.apache.orgSubject: Re: Encountered
illegal extension
Please file a bug report.On 11/9/05, Paul Barry <[EMAIL PROTECTED]> wrote:
Still having this problem ,wondering if anyone can help me out. Allthe details are below, but basically I have created a very simple webservice and it seems to work fine, but when I go to this url:
http://localhost/axis/ser
Still having this problem ,wondering if anyone can help me out. All
the details are below, but basically I have created a very simple web
service and it seems to work fine, but when I go to this url:
http://localhost/axis/services/MyService?wsdl
In the WSDL that is returned, the element doesn't
Dear myself of the past... I finally found it:
use the --wrapArrays flag
(this is not available in the Ant task and not shown in the wsdl2java
documentation online,
it popped up when I invoked the wsdl2java class directly and gave a wrong flag
name as
argument)
Best regards,
FD
That's ok. Thanks for trying to help.
Hansen, Geir wrote:
Sorry Richard, my fault. It's NOT in there.
-Original Message-
From: Hansen, Geir [mailto:[EMAIL PROTECTED]
Sent: 9. november 2005 14:29
To: axis-user@ws.apache.org
Subject: RE: Does anyone hava axis.jar with src in it
Down
Sorry Richard, my fault. It's NOT in there.
-Original Message-
From: Hansen, Geir [mailto:[EMAIL PROTECTED]
Sent: 9. november 2005 14:29
To: axis-user@ws.apache.org
Subject: RE: Does anyone hava axis.jar with src in it
Download 1.3 source from
http://www.powertech.no/apache/dist/ws/ax
Download 1.3 source from
http://www.powertech.no/apache/dist/ws/axis/1_3/axis-src-1_3.zip
It is in there.
Geir
-Original Message-
From: Richard Gregory [mailto:[EMAIL PROTECTED]
Sent: 9. november 2005 14:20
To: axis-user@ws.apache.org
Subject: Re: Does anyone hava axis.jar with src in
Hi,
I wanted to have a look at the source in realtion to a problem I'm
having, so I did just this, and imported the 1.3 src into eclipse. I had
to down various jars to satisfy the import statements in some of the
classes, but the is one I just cannot find.
In the class org.apache.axis.encodi
This is due to the WSDLs Axis generates when using RPC or Doc/Wrapped
styles.
In the RPC case arrays are wrapped in XMLschema complexType while
in the Doc/Wrapped case they are used as simple repeated element in
the method response message declaration
RPC)
...
.
I forgot to mention: I'm using Axis 1.3
Frederic
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello again...
I have a problem again... (I'd prefer to be helpful, but I lack the skills...)
I have a Wsdl/xsd combination which says, basically:
Service X, port Y,
Operation Z is bound to Y, document/literal
Z follows a Request/Response pattern.
Hello!
I am using the java.net.useSystemProxies property to let my java
client app use proxy settings from the operating system. The property
is one of the nice new features in java 5 :)
http://java.sun.com/j2se/1.5.0/docs/guide/net/proxies.html
This is working perfect for some of the non-
If you want that signature, you cannot use the document/literal style.
You must use RPC style instead. Document/literal permits only one input
parameter and one return value.
Your other option is to change your signature to something like this:
public dataBean getData(dataBean);
AnneOn 11/8/05,
Does the service use rpc/encoded? Axis2 doesn't support SOAP Encoding yet.
A mock-up of the WSDL would certainly help us help you. At least tell us a little bit about the WSDL:
- does it validate? (using Cape Clear SOA Editor, SOAPScope, xmlspy, etc)
- what's its style and use?
- if it's doc/lit,
It's a bad idea to use rpc/literal because quite a few major SOAP stacks (.NET, BEA, SAP, etc) don't support it.
What you should use is document/literal with the "wrapped" convention.
If you are generating the WSDL using java2wsdl, specify that you want
the "wrapped" style. If you are using the W
hi
is it possible to give an example of sending data as DIME
Many thanks
From: Mayur Shetye <[EMAIL PROTECTED]>
Reply-To: axis-user@ws.apache.org
To: "'axis-user@ws.apache.org'"
Subject: RE: zipping soap body before sending
Date: Tue, 8 Nov 2005 13:31:42 -0500
Hello,
I think that you c
Hi,
I want to know the performance issues in Axis 1.3 compared to Axis
1.2.1.
Any body faced any problems related to performance with Axis 1.3 ?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 09, 2005 5:12 PM
To: Padmanabha Rao A.
Subje
IIRC, the SOAPAction header is deprecated. If you have freedom to change the
WSDL contract, then your service would do better as rpc/literal than
document/literal: this wraps x in the name of the operation and allows
dispatching based only on the SOAP content, not on the transport details.
However
Hello.
First off, sorry for the long subject!
I've been having a terrible time creating a web service client in Java that
communicates with a .NET webservice.
For the record, unfortunately I can't show you the WSDL that I'm using to
generate code due to general paranoia. I do understand that t
Hi
I have a document/literal Axis webservice (EJB provided). It contains to
operations "a" and "b" that take that same kind of parameter "x". I
generate client stubs to call the webservices though java client code. I
have looked at the request send over the wire (using af http sniffer),
when
Hi,
i see it right that this is a clientside issue, or? The client must do the
change on his regestry, not the server, because he did't bind?
Thanks.
Dirk
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 8. November 2005 17:34
> An:
Hi All,
Apologies if this has aleady come up on the list, I had a quick look
through the archives but couldn't find anything. Unfortunatley, if i try
to search for wsdl2java + SimpleSessionHandler + wsdd it returns
hundreds of messages.
What I'm trying to find out is if it is possible to spe
48 matches
Mail list logo