AxisFault: could not find deserializer for type ...

2005-02-18 Thread babloosony
Hi All, I exposed an POJO as web service using AXIS 1.2 RC1, TOMCAT and custom (de)serializers When I try to access the web service I am getting an axis fault org.xml.sax.SAXException: Deserializing parameter 'in0': could not find deserializer for type {http://chapter5.wroxaxis}SparePartBean

Re: Mapping correctly a array type in a bean

2005-02-18 Thread Praveen Peddi
Wow!. I did this and it fixed my problem. I didn't have to use the Eric's patch that I mentioned in another thread yesterday. I am able to see the child containers fine. Is this type of bean definition OK? I mean I just want to make sure its not a hack or anything. If this is the right way

Re: Mapping correctly a array type in a bean

2005-02-18 Thread Sebastien Mayemba Mbokoso
:23:09 -0500, Praveen Peddi [EMAIL PROTECTED] wrote: Wow!. I did this and it fixed my problem. I didn't have to use the Eric's patch that I mentioned in another thread yesterday. I am able to see the child containers fine. Is this type of bean definition OK? I mean I just want to make sure its

RE: Mapping correctly a array type in a bean

2005-02-18 Thread Arijit Mukherjee
PROTECTED] Subject: Re: Mapping correctly a array type in a bean Wow!. I did this and it fixed my problem. I didn't have to use the Eric's patch that I mentioned in another thread yesterday. I am able to see the child containers fine. Is this type of bean definition OK? I mean I just want

Re: BeanDeserializer fails in class element for xsd:any type

2005-02-13 Thread KISIMOTO, Makoto
$BLZB<$5$s!"4_K\$G$9(B (B (BOn Sat, 12 Feb 2005 10:05:39 -0800 (PST) (BToshiyuki Kimura [EMAIL PROTECTED] wrote: (B To: $B4_K\$5$s(B (B Cc: [EMAIL PROTECTED]"$_$J$5$s!"(B (B (B $B!!LZB<$G$9!#(B (B (B $B!!LdBj2U=j$rFCDj$9$k$?$a!"[EMAIL PROTECTED]<%9$r(B (B

Re: BeanDeserializer fails in class element for xsd:any type

2005-02-13 Thread Toshiyuki Kimura
To: $B4_K\$5$s(B (B $B!!LZB<$G$9!#(B (B $B!!%5%s%W%k$N3NG'!"$"$j$,$H$&$4$6$$$^$7$?!#(B $B$H$$$&$3$H$G!"%P%0$NJ}$O0lC6%/%m!<%:$5$;$FD:$-$?$$(B $B$H;W$$$^$9!#I,MW$,$"$l$P!"$b$&0lEY%*!<%W%s$9$k$3$H(B $B$b2DG=$G$9!#(B (B $B59$7$/$*4j$$$7$^$9!#(B (B--- (BToshi [EMAIL PROTECTED] (B

Re: BeanDeserializer fails in class element for xsd:any type

2005-02-12 Thread Toshiyuki Kimura
To: $B4_K\$5$s(B (BCc: [EMAIL PROTECTED]"$_$J$5$s!"(B (B $B!!LZB<$G$9!#(B (B $B!!LdBj2U=j$rFCDj$9$k$?$a!"[EMAIL PROTECTED]<%9$r(B $B3NG'$7$F$$$k$N$G$9$,!"J,$+$i$J$$$H$3$m$,$"$j$^$9!#(B (B $B!!%P%04IM}%7%9%F%`(B(JIRA)$B$K!";d$,:[EMAIL PROTECTED](B $BE:IU$7$F$*$-$^$7$?!#(B

Re: BeanDeserializer fails in class element for xsd:any type

2005-02-10 Thread Toshiyuki Kimura
To: [EMAIL PROTECTED]"3'MM!"(B (B $B!!LZB<$G$9!#(B (B (BOn Wed, 9 Feb 2005, Toshiyuki Kimura wrote: (B (B $B!!4{$K!"M-;[EMAIL PROTECTED],$46(NOD:$1$k$H$N;v$G$9$N$G!"(B (B $B$R$H$^$:K\([EMAIL PROTECTED];W$rB>$N3+H/

Re: BeanDeserializer fails in class element for xsd:any type

2005-02-09 Thread Toshiyuki Kimura
$B4_K\$5$s!"(B (B $B!!LZB<$G$9!#(B (B $B!!%P%04IM}(BDB$B$X$NEPO?M-Fq$&$4$6$$$^$7$?!#(B (Bhttp://issues.apache.org/jira/browse/AXIS-1809 (B $B!!$I$J$?$+J,@O(B($B$*$h$S%Q%C%ADs6!(B)$B$K6=L#$N$"$kJ}$O(B $B$$$i$C$7$c$$$^$9$+!)$b$7$"$l$P!"$4O"Mm$/[EMAIL PROTECTED](B (B (B---

Re: BeanDeserializer fails in class element for xsd:any type

2005-02-09 Thread Shouhei Kodama
$BLZB

Re: BeanDeserializer fails in class element for xsd:any type

2005-02-09 Thread Toshiyuki Kimura
[EMAIL PROTECTED]"4_K\$5$s!"(B (B $B!!LZB<$G$9!#(B (B (BOn Thu, 10 Feb 2005, Shouhei Kodama wrote: (B (B $B!!$I$J$?$+J,@O(B($B$*$h$S%Q%C%ADs6!(B)$B$K6=L#$N$"$kJ}$O(B (B $B$$$i$C$7$c$$$^$9$+!)$b$7$"$l$P!"$4O"Mm$/[EMAIL PROTECTED](B (B (B $B",%O%$!#6=L#$"$j$^$9!#(B (B

adding complex type to the wsdd file not working with axis 1.2

2005-02-08 Thread Praveen Peddi
type beans in the soap service. I generate WSDL and I don't see the bean definition in the WSDL. It used work fine in Axis 1.1. Should I change anything in order for the WSDL to define the complextype. Even though method signature doesn't have complex type bean, I am referring it in wsdd file

Re: BeanDeserializer fails in class element for xsd:any type

2005-02-04 Thread Toshiyuki Kimura
$B4_K\$5$s!"(B (B $B!!LZB<$G$9!#$*Hh$lMM$G$7$?!*(B (B $B!!LdBj$,2r7h$7$J$$$N$G$9$M(B...$B!#$=$l$G$G$O!"$D$$$K%P%0(BDB$B$K(B $BEPO?$9$Y$-$H$-$,$d$C$F$-$?$h$&$G$9!#(B (B

BeanDeserializer fails in class element for xsd:any type

2005-02-03 Thread KISIMOTO, Makoto
$B3'MM!"(BGTRC $B>eLn$N4_K\$G$9(B (B $B%P%0$+;EMM$+HyL/$J5sF0$r3NG'$7$^$7$?$N$G8fAjCL$5$;$F$/[EMAIL PROTECTED](B (BJIRA $B$G(B BeanDeserializer $B$r%-!<$K%5!<%A$7$F$_$?$H$3$m!"F1$8LdBj$O(B $BEPO?$5$l$F$$$J$$$h$&$G$7$?!#(BAxis Java $B$N(B 1.2RC2 $B$G3NG'$7$F$$$^$9!#(B (B

Re: BeanDeserializer fails in class element for xsd:any type

2005-02-03 Thread Toshiyuki Kimura
$B4_K\$5$s!"(B (B $B!!LZB<$G$9!#(B (B $B!!>\:[EMAIL PROTECTED]&$4$6$$$^$7$?!#(B (B $B!!DI2C$NBP1~$G?=$7Lu$"$j$^$;$s$,!"2<5-#3$D$K$D$$$F8f4j$$$7$F$b59$7$$$G(B $B$7$g$&$+!)(B (B (B1. beanMapping$B$NJ}K!$r3NG'$7$?$$$?$a!"%G%W%m%$$KMxMQ$7$?%G%W%m%$5-=R;R(B $B!!(B(*.wsdd)[EMAIL

Re: BeanDeserializer fails in class element for xsd:any type

2005-02-03 Thread KISIMOTO, Makoto
$BLZB<$5$s!"4_K\$G$9(B (B (B 1. beanMapping$B$NJ}K!$r3NG'$7$?$$$?$a!"%G%W%m%$$KMxMQ$7$?%G%W%m%$5-=R;R(B (B $B!!(B(*.wsdd)[EMAIL PROTECTED];$s$+!)(B (B (BWSDL2Java $B$,@[EMAIL PROTECTED];H$C$F$$$^$9$,!"

Re: BeanDeserializer fails in class element for xsd:any type

2005-02-03 Thread Toshiyuki Kimura
$B4_K\$5$s!"(B (B $B!!LZB<$G$9!#(B (B (B[EMAIL PROTECTED]%8$GF0:n3NG'$7$^$7$?!#(B (B $B!!3N$+$K!"$=$N$^$^$N>uBV$G$O!"(BException$B$,H/@8$9$k$h$&$G$9!#(B (B[EMAIL PROTECTED]"(BBeanSerializer$B$NMxMQ%5%s%W%k$H$7$F$O!"2?$+JQ$J(B...$B$H$$$&;v$G(B

Re: BeanDeserializer fails in class element for xsd:any type

2005-02-03 Thread KISIMOTO, Makoto
$BLZB<$5$s!"4_K\$G$9(B (B (B $B!!3N$+$K!"$=$N$^$^$N>uBV$G$O!"(BException$B$,H/@8$9$k$h$&$G$9!#(B (B [EMAIL (B PROTECTED]"(BBeanSerializer$B$NMxMQ%5%s%W%k$H$7$F$O!"2?$+JQ$J(B...$B$H$$$&;v$G(B (B $B;n$7$K%G%W%m%$5-=R;R(B(deploy.wsdd)$B$r2<5-$N$h$&[EMAIL PROTECTED](B (B (B

Re: BeanDeserializer fails in class element for xsd:any type

2005-02-03 Thread Toshiyuki Kimura
$B4_K\$5$s!"(B (B $B!!LZB<$G$9!#(B (B (BOn Fri, 4 Feb 2005, KISIMOTO, Makoto wrote: (B (B $B$=$N(B deploy.wsdd $B$r;HMQ$9$l$P(B Exception $B$OH/@8$7$J$/$J$j$^$9$,!"(B (B $B$=$l$O(B service $BMWAG$+$i(B style $B$H(B use [EMAIL PROTECTED],:o=|$5$l$F$$$k$?$a$K!"(B (B

Re: BeanDeserializer fails in class element for xsd:any type

2005-02-03 Thread KISIMOTO, Makoto
$BLZB<$5$s!"4_K\$G$9(B (B (B

Re: BeanDeserializer fails in class element for xsd:any type

2005-02-03 Thread Toshiyuki Kimura
$B4_K\$5$s!"(B (B $B!!LZB<$G$9!#(B (B (BOn Fri, 4 Feb 2005, KISIMOTO, Makoto wrote: (B (B document-literal $B%P%$%s%G%#%s%0$r;HMQ$7$h$&$H$9$k$3$H<+BN$KLdBj$,(B (B $B$"$k$3$H$OM}2r$7$^$7$?!#(B (B (B $B$G$9$,!"(Bdocument-literal $B%P%$%s%G%#%s%0$r(B WSDL $B$N(B binding

Re: BeanDeserializer fails in class element for xsd:any type

2005-02-03 Thread KISIMOTO, Makoto
$BLZB<$5$s!"4_K\$G$9(B (B (B $B!!$J$N$G!"A0!92s$N2sEz$G!X;CDj=hCV$G$"$k$?$a!"@5$7$$;[EMAIL PROTECTED]((B (B $B$^$;$s!Y$H=q$-$^$7$?!#!V(Bsamples\userguide\example5$B!W$r;29M$K!"(BXML (B $B%I%-%e%a%s%H$rJV5Q$9$k%a%=%C%I$r

Returning array of complex-type

2005-01-28 Thread Lubomir ILanovsky
hi, I have a web service which should return an array of complex-types. But it does not work properly. My complex type looks like this: public class UctovnyZapisDTO { int id; String doklad; float suma; ... } Fields are of type int, float and String only. Type

Re: Returning array of complex-type

2005-01-28 Thread Lubomir ILanovsky
of complex-types. But it does not work properly. My complex type looks like this: public class UctovnyZapisDTO { int id; String doklad; float suma; ... } Fields are of type int, float and String only. Type mapping in WSdeploy.wssd: typeMapping xmlns:ns=http://DefaultNamespace

void return type (wrapped/literal mode)

2005-01-26 Thread Bill Keese
cumentResponse"/ (B/wsdl:message (B (B.NET: works (BAXIS: thinks the operation is not wrapped style (B (B3) Void type (BcomplexType name="Void"/ (Belement name="UpdateDocumentResponse" type="tns:Void"/ (Bwsdl:message name="UpdateDocumentResponse"

FW: How to set the marshalled type for anyType?

2005-01-18 Thread Michael Ryan
Title: FW: How to set the marshalled type for anyType? OK, I'll provide a bit more info to see if that helps elicit some assistance. We are using Axis 1.2RC2. We are only using Axis on the client side. We are using anyType to allow us to pass any object type to our server app. We need

How to set the marshalled type for anyType?

2005-01-17 Thread Michael Ryan
Hello- I have a service that has a parameter that is defined as anyType. When this parameter is passed a java Boolean, it is serialized as a soapenc:boolean. In order to interoperate with another SOAP impl, I would like to have this serialized as an xsd:boolean. How do I configure Axis to do

invoking a service operation with a complex type

2005-01-11 Thread Eddie Johnston
Hello, I've been looking in vain for a solution to this (simple sounding) problem. I'd like to invoke a web service operation with some nested parameters. The operation takes three arguments, but some of the arguments have sub-parts. Probably best shown with a real example - here's what the

Re: How do I manipulate the array of type Element in the MessageService example in Axis 1.2RC2?

2004-12-29 Thread Jongjin Choi
note that the SOAPBodyElement and SOAPEnvelope's package is org.apache.axis.message NOT javax.xml.soap. /Jongjin. - Original Message - From: Vincent Jong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 29, 2004 9:34 AM Subject: How do I manipulate the array of type

How do I manipulate the array of type Element in the MessageService example in Axis 1.2RC2?

2004-12-28 Thread Vincent Jong
of type Element. Basically, I'm just trying to do a simple thing of setting an element's name (like elems[0] ) to something like foo using the inherited setName method. I've tried using the syntax of: elems[0].setName(foo); but I keep getting compile errors. What would be the correct way

Complex type, using axis

2004-12-27 Thread Daniel Sánchez
I am new to Soap, and using version 1.1 of axis, my question is aboutcomplex type. Code for the interface. public class FamilyInterfaceImpl {public Family getFamily(){Family f = new Family("MyFamily", 5);return f;}} Code for Family Class. public class Family { private String familyNa

Re: Problem with {User defined type} having array of any type with Wrapped-Literal

2004-12-21 Thread Adaptive Protocols
even tried with a user define type having an array of primitives, schema is like Company (Company Java Object - UDT) employeeCodes ( int array ) I passed this object to server using operation testCompany (Company). The soap message generated is fine as per my knowledge. It is something like

[WSDL2Java] missing type or ref attribute for node 'unknown'

2004-12-20 Thread toto toto
Hi, I'm having trouble generating a client for my ws. The WSDL is attached to this mail. Here is the error stack trace : WSDL2Java: [java] java.io.IOException: Error: missing type or ref attribute for node 'unknown' [java

Problem with {User defined type} having array of {User defined type} with RPC-Literal

2004-12-20 Thread Adaptive Protocols
Hello, We are trying to work with our web service, which is publishedas RPC-Literal. In all the simple cases, it is working very fine. But in some of the cases, we are facing problems; like: a). If an operation has a parameter with a schema like 'A user defined type having a array of User

[WSDL2Java] missing type or ref attribute for node 'unknown'

2004-12-20 Thread F.K.
Oups ... I've just noticed my WSDL file wasn't attached to the message. --- Hi, I'm having trouble generating a client for my ws. The WSDL is attached to this mail. Here is the error stack trace : WSDL2Java: [java] java.io.IOException: Error: missing type or ref attribute

[WSDL2Java] missing type or ref attribute for node 'unknown'

2004-12-20 Thread F.K.
Oups ... I've just noticed my WSDL file wasn't attached to the message. --- Hi, I'm having trouble generating a client for my ws. The WSDL is attached to this mail. Here is the error stack trace : WSDL2Java: [java] java.io.IOException: Error: missing type or ref attribute

Re: Problem with {User defined type} having array of {User defined type} with RPC-Literal

2004-12-20 Thread Anne Thomas Manes
: a). If an operation has a parameter with a schema like 'A user defined type having a array of User defined type'; we are getting server side exception. Stating that 'invalid element with class named - item'. For example, schema is: Person name (String) addresses (array of Address) hno

Re: Problem with {User defined type} having array of {User defined type} with RPC-Literal

2004-12-20 Thread Jeff Greif
recently using the Axis samples.client.DynamicInvoker with a doc/lit web service looking like (namespace stuff omitted): types schema ... element name=x type=X/ complexType name=X sequence element name=a type=anyURI

Re: Problem with {User defined type} having array of any type with Wrapped-Literal

2004-12-20 Thread Adaptive Protocols
Thanks Anne. I am trying with Wrapped Document/Literal. But here also, I am facing the same problem. I even tried with a user define type having an array of primitives, schema is like Company (Company Java Object - UDT) employeeCodes ( int array ) I passed this object to server using operation

RE: Element with type=xsd:any

2004-12-16 Thread Samuel Solon
PROTECTED] Subject: Re: Element with type=xsd:any xsd:any is not a defined type. You probably mean xsd:anyType. - Original Message - From: Samuel Solon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 15, 2004 3:08 PM Subject: Element with type=xsd:any I'm

RE: Element with type=xsd:any

2004-12-16 Thread ANDREW MICONE
I'm not sure if this is answering your question, but let me see if I can help out. I've successfully used WSDL's to generate most of my Axis code. When dealing with xsd:anyType, you just need some code to correctly type it. If you are using Java you just need a series of if-then-else statements

RE: Element with type=xsd:any

2004-12-16 Thread Samuel Solon
PROTECTED] Subject: RE: Element with type=xsd:any I'm not sure if this is answering your question, but let me see if I can help out. I've successfully used WSDL's to generate most of my Axis code. When dealing with xsd:anyType, you just need some code to correctly type it. If you are using Java

Element with type=xsd:any

2004-12-15 Thread Samuel Solon
I'm using WSDL to define messages that have one (or more) elements containing arbitrary XML and I'm running into problems. I tried: xsd:complexType name=AddContact xsd:sequence xsd:element name=UserId type=xsd:string/ xsd:element name=AbookId type=xsd:string

Re: Element with type=xsd:any

2004-12-15 Thread Jeff Greif
xsd:any is not a defined type. You probably mean xsd:anyType. - Original Message - From: Samuel Solon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 15, 2004 3:08 PM Subject: Element with type=xsd:any I'm using WSDL to define messages that have one (or more) elements

Mapping a javabean to a complex type with attributes and value but no sub elements, How ?

2004-12-14 Thread Philippe Moreau
ping attributes) person sex="M" age="33" nameSmith/name /person I could use a special deserializer but it would force the SOAP request send type attributes in order to call the special derserialize which would be a constraint for me. My problems seems simple but I

Sending/Retrieving a document that is not of type apachesoap?

2004-11-18 Thread Kenneth Lee
I can create the following document in code (basically created the same file in Java that can be used in the other product), but I don't know how to setup axis to correctly send the document as a true document type. The receiving end is using a Microsoft product (VFP with MS Toolkit 3) and does

[Wrong Type Conversion String[][] -- String[]]

2004-11-07 Thread Marco Büchler
nillable=true type=xsd:string/element name=parameters nillable=true type=impl:ArrayOfArrayOf_xsd_string//sequence/complexTypecomplexType name=ResponseParametersequenceelement name=result nillable=true type=impl:ArrayOfArrayOf_xsd_string//sequence/complexType/schema/wsdl:types wsdl:message name

Exception: No deserializer defined for array type ...

2004-11-02 Thread Christian Schröder
Hi! I've tried to build a Java client for the wsdl which can be found at http://62.146.42.45/soap/complextest1.wsdl The wsdl file is compiled (using WSDL2Java from axis 1.1) without problems. But when I try to call the findSecurities function, an exception No deserializer defined for array type

Re: Exception: No deserializer defined for array type ...

2004-11-02 Thread Egor Pervuninski
the findSecurities function, an exception No CS deserializer defined for array type Security is raised. I found CS the section about custom serialization in the Axis User's Guide, CS but since I'm building a client (and not a server) I don't think CS that a WSDD file is a solution for me. What can I

Return Array of Own Type

2004-11-01 Thread Tino Schöllhorn
(); public MyType getMyType(); public MyType[] getMyTypes(); } So far so good. Now the thing is - that the first 3 methods are working fine. I even can serialize/deserialize an object of type MyType. But now I am stuck an the last method where I want to get an array of MyTypes. As I

Re: Return Array of Own Type

2004-11-01 Thread Tino Schöllhorn
{ public String getTheString(); public String[] getTheStringArray(); public MyType getMyType(); public MyType[] getMyTypes(); } So far so good. Now the thing is - that the first 3 methods are working fine. I even can serialize/deserialize an object of type MyType. But now I am stuck

Re: Return Array of Own Type

2004-11-01 Thread Tino Schöllhorn
. I even can serialize/deserialize an object of type MyType. But now I am stuck an the last method where I want to get an array of MyTypes. As I understand I should have to register a type mapping or something like that - but I can not find an example or a good explanation how to do

unable to deserialize complex type

2004-10-22 Thread Aoife Kavanagh
an error when the Axis libraries attempt to deseralize the return ErrorList contained with the Acknowledgement where the latter is a complex type. I have listed the AxisFault, the XSD definition and the return SOAP message (which looks correct to me) below. I have done a number of searches to try and find

Why can't I have a enum type element as a request parameter?

2004-10-04 Thread Liu, Scott
Hi, All, I am using the wrapper style and I encountered a runtime exception with a new operation I just created with a enum request parameter. My operation getAll is a query to get all records for a given record type which is defined as a enum type. The related schema is as follows

No provider type matches QName

2004-09-28 Thread Stefan Champailler
of the distribution). However, in JBoss 4.0.0, Axis complains like this when I try to reach http://localhost:8080/foundry/servlet/AxisServlet (after having deployed the WSDD file of my service, without apparent trouble) : org.apache.axis.deployment.wsdd.WSDDException: No provider type matches

How does WSDL2java handles any type

2004-09-06 Thread Song Chang
Hi, I am a newbie to this. So any help is appreciated. I used WSDL2java to generate codes on a wsdl file which contains something similar to this, s:complexType s:sequence s:any/ s:sequence s:complexType It seems AXIS generates some objects which internally uses

No deserializer found for type ...

2004-09-02 Thread Sandro Ruch
hi all, we are currently working on a prototype with apache axis and faces the following problem: 1. we specified a little webservice with a java-bean as parameter. 2. the java-bean itself has three attributes. two of them are standard java datatypes and the last is of type of an abstract class

Serializable Class= what is the type maping info to be included in the WSDD

2004-09-01 Thread Mahen Perera
Hi I am having a web service method like the following public Serializable Method(String key){ } What is the required Type Mapping information (typemapping section in WSDD) to be included in the WSDD , in order to deploy this web service in Axis. Mainly,,, the concern is the Serializable

javax.activation.UnsupportedDataTypeException: no object DCH for MIME type

2004-08-01 Thread eagle1978
( retPath + i + .txt ); dhReturn.writeTo(fileOut); } When I run this code I get the following error message: javax.activation.UnsupportedDataTypeException: no object DCH for MIME type application/octet-stream It doesn't matter what kind of mime type I use, I always get the same error

javax.activation.UnsupportedDataTypeException: no object DCH for MIME type

2004-08-01 Thread eagle1978
( retPath + i + .txt ); dhReturn.writeTo(fileOut); } When I run this code I get the following error message: javax.activation.UnsupportedDataTypeException: no object DCH for MIME type application/octet-stream It doesn't matter what kind of mime type I use, I always get the same error

Complex Type with Array - found the problem

2004-07-29 Thread Arnaud Vezain
I've found a strange problem in Axis. I've wrote a service which use a complex type Etiquette (5 String, 1 String[]) and when I published it, the dynamic wsdl contains a type Etiquette with 6 String ! So I've looked for the problem and I get it. When I generate the wsdd and the server side

Complex Type with Array

2004-07-28 Thread Arnaud Vezain
Hello, I've wrote a web service which use a complex type named Etiquette. This type contains 4 java.lang.String and 1 java.lang.String Array. When I generate the wsdd and wsdl files, no problem. The wsdl contains my complex type schema (with 5 String and 1 String[]). When I deploy this service

Re: Complex Type with Array

2004-07-28 Thread Anand Natrajan
as I expect them (as arrays, that is). I'd recommend taking a leap of faith and trying out some clients against your WSDL. Anand On Wed, 28 Jul 2004, Arnaud Vezain wrote: : Hello, : I've wrote a web service which use a complex type named Etiquette. This : type contains 4 java.lang.String and 1

Re: Complex Type with Array

2004-07-28 Thread Arnaud Vezain
Arnaud, Are you generating a document/literal WSDL? If so, what you're seeing is not surprising. I was surprised myself when I first saw this behaviour, but all my web service clients seem to know what to do with such a WSDL. They generate proper stubs/proxies and consume the SOAP

XSD schema import vs. explicit type declaration

2004-07-27 Thread Oleg Lebedev
Title: Message Greetings, I am experiencing a problem with wsdl2java throwing a "type referenced, but not defined" exception whenan XSD schema file is imported in a WSDL file. However, if I copy the XSD type definition directly in the WSDL filewsdl2java works fine. Here is

Re: XSD schema import vs. explicit type declaration

2004-07-27 Thread Jim Murphy
, no? I'd love to hear how you make out. Jim Murphy Mindreef, Inc. Oleg Lebedev wrote: Greetings, I am experiencing a problem with wsdl2java throwing a type referenced, but not defined exception when an XSD schema file is imported in a WSDL file. However, if I copy the XSD type definition directly

RE: XSD schema import vs. explicit type declaration

2004-07-27 Thread Oleg Lebedev
27, 2004 12:15 PM To: [EMAIL PROTECTED] Subject: Re: XSD schema import vs. explicit type declaration I would try: 1. Try changing the namespace of the schema fragment in the WSDL. You are defining a schema and importing a schema with the same namespace. I'm not sure how safe that is. 2

Re: SAXEception: could not find deserializer for type DataHandler

2004-07-18 Thread Azmi
not find deserializer for type {GridX3}DataHandler faultActor: . . . Similarly when I download a file from the web service, a similar exception is thrown(on the client side) when it tries to deserialize. To serialize/deserialize I use in the client code: import

Wrapper Service Oddities - two parameters of the same type

2004-07-15 Thread Peter Shillan
Hi there, I wanted to use a wrapper (document/literal) service to call an operation with two parameters of the same type so I wrote the following: xsd:schema xmlns:book=http://pshillan.dyndns.org/web/book; xmlns=http://pshillan.dyndns.org/web/book; targetNamespace=http

SAXEception: could not find deserializer for type DataHandler

2004-07-14 Thread Azmi
/}Server.userException faultSubcode: faultString: org.xml.sax.SAXException: Deserializing parameter 'source': could not find deserializer for type {GridX3}DataHandler faultActor: . . . Similarly when I download a file from the web service, a similar exception is thrown(on the client side) when it tries

global type mapping

2004-07-13 Thread Vijai Mohan
I have been searching in many forums and never saw an answer as to how we can specify type mapping that can be shared across services. Or For example public class MainService { public MainService(){} public CustomType c1; public CustomType getCustomType(){ return

how to modify-- wsdl:part name=in0 type=xsd:string

2004-07-08 Thread Riken Shah
Hi, I am a newbie for axis, and I tried to search for this question on the maillist but could not find it. By default the axis adminclient deployment tool creates wsdl with wsdl:message name=getSomethingRequest wsdl:part name=in0 type=xsd:string / wsdl:part name=in1 type

Re: how to modify-- wsdl:part name=in0 type=xsd:string

2004-07-08 Thread David Beahm
with wsdl:message name=getSomethingRequest wsdl:part name=in0 type=xsd:string / wsdl:part name=in1 type=impl:ArrayOf_xsd_string / wsdl:part name=in2 type=impl:ArrayOf_xsd_string / /wsdl:message How can I modify deployment wsdd that it can generate wsdl:message name=getSomethingRequest wsdl:part name

RE: how to modify-- wsdl:part name=in0 type=xsd:string

2004-07-08 Thread Bill Werth
. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, July 08, 2004 7:48 AM To: [EMAIL PROTECTED] Subject: how to modify-- wsdl:part name=in0 type=xsd:string Hi, I am a newbie for axis, and I tried to search for this question on the maillist but could

RE: how to modify-- wsdl:part name=in0 type=xsd:string

2004-07-08 Thread Riken Shah
:[EMAIL PROTECTED] Sent: Thursday, July 08, 2004 7:48 AM To: [EMAIL PROTECTED] Subject: how to modify-- wsdl:part name=in0 type=xsd:string Hi, I am a newbie for axis, and I tried to search for this question on the maillist but could not find it. By default the axis adminclient deployment tool

RE: how to modify-- wsdl:part name=in0 type=xsd:string

2004-07-08 Thread Bill Werth
: Thursday, July 08, 2004 9:28 AM To: [EMAIL PROTECTED] Subject: RE: how to modify-- wsdl:part name=in0 type=xsd:string Couple of more things about my environment 1. I am using class, not an interface. 2. I am not using Java2WSDL, but using AdminClient to deploy the service. (I assume

RE: how to modify-- wsdl:part name=in0 type=xsd:string

2004-07-08 Thread Bill Werth
-- wsdl:part name=in0 type=xsd:string Couple of more things about my environment 1. I am using class, not an interface. 2. I am not using Java2WSDL, but using AdminClient to deploy the service. (I assume AdminClient internally is using Java2WSDL?!?! ) So, I tried following command to deploy

RE: how to modify-- wsdl:part name=in0 type=xsd:string

2004-07-08 Thread Riken Shah
: how to modify-- wsdl:part name=in0 type=xsd:string Couple of more things about my environment 1. I am using class, not an interface. 2. I am not using Java2WSDL, but using AdminClient to deploy the service. (I assume AdminClient internally is using Java2WSDL?!?! ) So, I tried following

type mapping qname ns=someNamespace

2004-07-07 Thread Steve Wells
Axis continues to have difficulties handling some custom bean based class / types that I have - I have added typeMapping (beanMapping) for these - but I get problems once I've entered the second one. IS someNamespace supposed to be specified for every entry or is that replaced for each one with

could not find deserializer for type

2004-06-24 Thread Tomas Mazukna
Long Story short: Axis 1.2 beta could not invoje java-rpc with copmplex type as parameter. 1. Server side one service taking in a custom object as a paramater - Ident 2. client stub generated from wsdl. 3. Using tcpmon I see that server is not able to deserialize this object. I am missing

Re: could not find deserializer for type

2004-06-24 Thread Davanum Srinivas
remove the beanmapping and try again. On Thu, 24 Jun 2004 11:33:05 -0400 (EDT), Tomas Mazukna [EMAIL PROTECTED] wrote: Long Story short: Axis 1.2 beta could not invoje java-rpc with copmplex type as parameter. 1. Server side one service taking in a custom object as a paramater - Ident

Re: could not find deserializer for type

2004-06-24 Thread Tomas Mazukna
I had no beanmapping to start with, adding did not help. remove the beanmapping and try again. On Thu, 24 Jun 2004 11:33:05 -0400 (EDT), Tomas Mazukna [EMAIL PROTECTED] wrote: Long Story short: Axis 1.2 beta could not invoje java-rpc with copmplex type as parameter. 1. Server side

Re: could not find deserializer for type

2004-06-24 Thread Tomas Mazukna
side beans work with simple beans. I do not want to write wsdl and generate beans out of it to make things work. thanks, Tomas Long Story short: Axis 1.2 beta could not invoje java-rpc with copmplex type as parameter. 1. Server side one service taking in a custom object as a paramater

FW: String[] in complex type was returned as null

2004-06-23 Thread Phil Wilson
it might be some time before I get to try it out, I thought it worth posting in case it could help someone else. Cheers, Phil -Original Message- From: Achim Abeling Sent: 15 June 2004 15:33 To: [EMAIL PROTECTED] Subject: Re: String[] in complex type was returned as null Hi Phil, i got

Re: Bad Type: axis trying to deserialize a primitive boolean

2004-06-22 Thread Venkatesh Kancharla
Hi Jeol, If the problem is not yet solved, then you can try this: add the boolean parameter by calling this function: call.addParameter(arg1,org.apache.axis.encoding.XMLType.XSD_BOOLEAN, ParameterMode.IN); and while invoking the service use: call.invoke( new Object[] {new

Issue with user type array deserialization

2004-06-22 Thread Swaminathan, Bhaskar
/XMLSchema; wsdl:types xsd:schema elementFormDefault=qualified xmlns=http://ProductUsers; xsd:complexType name=User xsd:sequence xsd:element name=firstName type=xsd:string/ xsd:element name=lastName type=xsd:string/ /xsd:sequence

Bad Type: axis trying to deserialize a primitive boolean

2004-06-21 Thread Joel Carklin
Hi all, I have a client which calls a method on my web service which is running on axis. One of the method parameters is a primitive boolean. I get the following error thrown by Axis: org.xml.sax.SAXException: Bad types (boolean -gt; class my.path.to.an.Object) It appears to me that axis is

RE: Bad Type: axis trying to deserialize a primitive boolean

2004-06-21 Thread nishit.kumar
eSoapStub.java:1110) Thanks, Nishit -Original Message- From: Joel Carklin [mailto:[EMAIL PROTECTED] Sent: Mon 6/21/2004 1:49 PM To: [EMAIL PROTECTED] Cc: Subject: Bad Type: axis trying to deserialize a primitive boolean

WSDL2Java - Simple type with enumeration - getTypeDesc method not found.

2004-06-21 Thread Rima Kanguri
Description In one of our webapplication that uses the axis client generated code using WSDL2Java. -For simple types with enumerations the method getTypeDesc is not generatedby WSDL2Java - The truss output on the Solaris platform shows that OS fails to find the method getTypeDesc in the java

RE: Bad Type: axis trying to deserialize a primitive boolean

2004-06-21 Thread anup sinha
: Bad Type: axis trying to deserialize a primitive booleanHi all,I have a client which calls a method on my web service which is runningon axis. One of the method parameters is a primitive boolean. I get thefollowing error thrown by Axis:org.xml.sax.SAXException: Bad types (boolean

Global Type Mapping

2004-06-14 Thread Carlos Vales
Hi Axis Users, I´m new to Axis and I want to deploy a Web Service. I want to do a Global Type Mapping. A type mappingnot to a particular service but available to any service. I used the Data example that defines an Object (Data) and have the Serializer/Deserializer Factory for this object

Type Mapping Framework

2004-06-01 Thread Auderset Pascal
Hello I' working on developing web services using axis. In out company we have developed a lot of so called java services. The services look like this: public interface SomeService { public TransferObject1 doSomeThing(TransferObject2, ...) throws SomeException; } The

Re: Really need your help with AXIS error: No deserializer defined f or array type {http://www.w3.org/2003/05/soap-encoding}string

2004-05-21 Thread Srinath Perera
Could you provide me with the syntax or point me in the direction of some resources? Axis user guide is having a example show how to add type mapping at the wsdd. (see ws.apache.org/axis then link to uesr guide) then serach for Arbitrary Objects without Pre-Registration :) hope this helps

Really need your help with AXIS error: No deserializer defined f or array type {http://www.w3.org/2003/05/soap-encoding}string

2004-05-20 Thread Meloro, John
. It appears to me that AXIS is encoding the array of strings on the client side using http://www.w3.org/2003/05/soap-encoding. When the request reaches the server it throws the exception: No deserializer defined for array type {http://www.w3.org/2003/05/soap-encoding}string It is my

No deserializer defined for array type

2004-05-19 Thread Meloro, John
All, I am seeing the following error when I run my web service: org.xml.sax.SAXException: No deserializer defined for array type {http://www.w3.org/2003/05/soap-encoding}string Can anyone tell me please how to fix this? Thanks, John M.

Is MimeBodyPart included as a type in AXIS ??? - To Send Attachemtn s

2004-05-14 Thread Dhanush Gopinath
a parameter of type SOAPContext, so that i could extract the attachment .. the wsdl file for that is as shown. complexType name="SOAPContext" sequence element name="baseURI" nillable="true" type="xsd:string"/ element name="bodyPart" nillab

String[] in complex type was returned as null

2004-05-14 Thread Phil Wilson
=axis.sendMinimizedElements value=true/ /globalConfiguration handler name=LocalResponder type=java:org.apache.axis.transport.local.LocalResponder/ handler name=URLMapper type=java:org.apache.axis.handlers.http.URLMapper/ handler name=Authenticate type

java.lang.String is type tns:string in wsdl

2004-05-11 Thread Travis Stevens
the properties of the bean to be of type xsd:string but instead they are of type tns:string. What can I do to have them defined as type xsd:string. I am using axis 1.1. Here is the wsdd fragment for the object: beanMapping qname=xmldbremote:Collection xmlns:xmldbremote=urn:xmldbremote

Type Mapping Registry (Default types)

2004-04-26 Thread Auderset Pascal
Title: Type Mapping Registry (Default types) Hello I'm using Axis to deploy WebServices. In our company we are using typed classes to represent business data. This classes have the property that they are unmodifyable (we don't use Java Primitives for business data). We now want to match

Client side Type Mapping

2004-04-19 Thread Oetting, Jan
Hi, I need Custom Serialization for java.sql.Timestamp. I've written a serializer and deserializer and registered them on the server side. Now I need to register them on the client side. One possibility is to modify the WSDL2Java generated Stubs. I don't wan't to change them (because if changes on

  1   2   3   4   5   >