RE: Error I can't quite figure out ...

2002-11-19 Thread Mattias Jiderhamn
Have you tried calling the method from a "local" class, not through SOAP? The InvocationTargetException mean there was an error in the method called.   > Caused by: java.lang.StackOverflowError>     at groceryWebService1.ws.Gws1SoapBindingImpl.searchProductList(Gws1SoapBindingImpl.java

xml Message from Call

2002-11-19 Thread chris bannet
Hi everyone, I have a stub generated using wsdl2java and I am trying to get the xml message from the Call object before sending it to the web-service (i.e. before executing invoke()). This is what I was doing in Apachesoap StringWriter writer = new StringWriter(); call.buildEnvelope().marshall(wr

Error I can't quite figure out ...

2002-11-19 Thread Michael Fecina
I'm getting the following error when I try to call my web service from a client. I have a few methods availabe in the service, and those that return Objects which I have defined (for example, Product and ProductTree) give me this error.  When I create a client that calls methods that are void

Specifying URI in parameter QName for arrays

2002-11-19 Thread korz, david
I want to specify the URI in the QName for a parameter to my service's operation that is an array of xsd:string. Deploying the service results in a QName for the array of strings type based on endpoint (actually it is the endpoint). I am able to specify the uri for objects that are beans using th

Re: xml document as string

2002-11-19 Thread tom schuring
Hello Steve, thanks for that. i did find out that axis client automatically does the encoding so sending "" will not harm anything. i am wondering if this is the standard and where i can find the standard that tells me exactly this and the encoding used . best regards, tom On Tuesday, Nov 19,

Re: Generated WSDL <> original WSDL

2002-11-19 Thread Steve Loughran
- Original Message - From: "Daleiden, Mike" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 18, 2002 11:14 AM Subject: RE: Generated WSDL <> original WSDL >Is the filename specified as an absolute path? Or is it relative to the >web app? Please provide an example. a

Re: xml document as string

2002-11-19 Thread Steven Gollery
Tom, There's a reasonably simple way to find out for sure: construct a web service that takes a string parameter and then pass "" and see what happens. Looking through the code, parameters become instances of RPCParam, and serializing strings in RPCParam results in them being encoded. So it l

xml document as string

2002-11-19 Thread tom schuring
hello, i'm sending a serialized xml doc via an RPC-SOAP call with a signature something like: String sendDocument(String myXmlString); when i use one of the examples to send something i see that it automatically encodes by xml-document so it fits in the envelope. (meaning < get replaced by < e

embedding WSDL comments/description/documeentation elements in the WSDD

2002-11-19 Thread Walter.Kwaan
is there a way/plan to put documentation information into the WSDD file so that the generated WSDL will have some documentation elements? i'd be interested in putting in something so that the service or operation elements are able to have either: - straight up XML comments - a documentation or

Any wsdd tag documentation?

2002-11-19 Thread korz, david
Is the operation element of the wsdd document documented anywhere?

RE: JMS sample can not run

2002-11-19 Thread Kevin Wang
Crystal. Thank you very much Jaime. You are very kind and helpful. -Original Message- From: Jaime Meritt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 19, 2002 5:34 PM To: [EMAIL PROTECTED] Subject: RE: JMS sample can not run Kevin, Glad to hear that it is now working for you (

RE: JMS sample can not run

2002-11-19 Thread Jaime Meritt
Kevin, Glad to hear that it is now working for you (I was running out of ideas :)). Your temporary destination concerns are understandable, it is a little confusing. The creation of a temporary destination and the ability to consume off of said destination are tied to the connection. When the

How do I change the Body's Namespace URI?

2002-11-19 Thread Schofield Colin
I am using Axis to talk with a SOAP server that for some reason expects the Body's namespace to be set to "urn:schemas-xmlsoap-org:soap.v1" rather than the default which is "http://schemas.xmlsoap.org/soap/envelope/"; When I send a normal SOAP message, Axis throws the Exception: org.xml.sax.SAX

Re: running with axis

2002-11-19 Thread Bahman Kalali
It seems to me that you need to do some casting before _call in your code such as this.   String ret = (String) call.invoke( new Object[] {(String)o,(String)o1,(String)o2,(String)o3,(String)o4 } ); --Bahman - Original Message - From: Tim Lee To: '[EMAIL PROTECTED]' Sen

RE: running with axis

2002-11-19 Thread Tim Lee
I have gotten the connection to happen going back to the xerces.1.3.0.jar file.  We were using 1.3.1.jar.  We can't go above that due to some other software in our system.    Anyway, I now get the following error but there server does log a connection was attempted:   AxisFault faultCode: {

RE: running with axis

2002-11-19 Thread Tim Lee
The following call returns null no matter what method on my webservice I try to connect with.  If I take my classes and put them in visual cafe it works fine.  I have the same classpath set up.  Not too sure what is going on.  The Call class is an axis class.       java.lang.Object _resp

RE: running with axis

2002-11-19 Thread Tim Lee
Unless it is in one of the axis classes no. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Sent: Tuesday, November 19, 2002 3:14 PMTo: [EMAIL PROTECTED]Subject: RE: running with axisIs your code swallowing an exception somewhere, so you can't see it?

RE: general question about AXIS

2002-11-19 Thread Anne Thomas Manes
Yes, Axis is a great(!) place to start -- especially if you prefer to use open source. There are about a dozen SOAP implementations for Java, although I suspect that only a few of them officially support AIX. For a reasonably complete list of SOAP implementations, see http://www.soapware.org/direc

Re: general question about AXIS

2002-11-19 Thread Pae Choi
If your clients need to follow whatever you tell them to do, you are very lucky. I tell you that. In addition, plan for WSDL/UDDI will be a nice to keep in mind, then will your clients be able to all the programming work? The client should be care in many cases, but here goes one scenario. Say yo

RE: JMS sample can not run

2002-11-19 Thread Kevin Wang
Hi Jaime, Now the JMS sample can run using both SonicMQVendorAdapter or JNDI, the reason why the JNDI approach didn't work is I missed a $SONIC_HOME/lib/tools.jar in my classpath, so wired it reported a classcast exception before. I get rid of JMSListner from JMSTest.java and add another class t

RE: general question about AXIS

2002-11-19 Thread Paul Faulkner
like I said this stuff is all new to me Clients will be accessing known Web Services and will be provided information about the service (like message layout). Will probably implement WSDL/UDDI down the road. Does the client really care how the service is being processed? Just need a service

RE: running with axis

2002-11-19 Thread David . Pool
Is your code swallowing an exception somewhere, so you can't see it? Tim Lee <[EMAIL PROTECTED]> 11/19/2002 10:47 AM Please respond to axis-user                 To:        "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>         cc:                 Subject:        RE: running with axis Yes, I

Re: general question about AXIS

2002-11-19 Thread Pae Choi
How would your external client access your Web service(s)? Shouldn't you consider things other than "only requirements" such as: + RPC-style or Document-style? + If RPC-style is the choice, will your clients all agree to write program, perhaps AXIS compatible client, to communciate your We

UTF-16 with Axis

2002-11-19 Thread Meng Cai
Greeting, Does anyone know if Axis supports UTF-16? If so, how can I send a SOAP message with UTF-16 encoding? Thanks a lot, MC

general question about AXIS

2002-11-19 Thread Paul Faulkner
I have very general question. We have several systems that we wish to SOAP enable, our plan is to create a web service that communicates with these systems and allow external SOAP clients to access them. I am very new to this technology, is AXIS a good place to start? The only requirements we ha

RE: JMS sample can not run

2002-11-19 Thread Jaime Meritt
Kevin, Most of what I am referring to is located in the latest Axis version from CVS. You can wait for a bug fix release, pick up a nightly build, or check it out from cvs yourself. I've attached the file with this message as well. Thanks, Jaime -Original Message- From: Kevin Wang [ma

RE: JMS sample can not run

2002-11-19 Thread Kevin Wang
Hi Jaime, Are you using axis 1.0? I cannot find sonic-connection-factory.properties. Thanks, Kevin -Original Message- From: Jaime Meritt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 19, 2002 10:56 AM To: [EMAIL PROTECTED] Subject: RE: JMS sample can not run Kevin, Inline insid

RE: running with axis

2002-11-19 Thread Tim Lee
Yes, I point to all Axis jar files and my jar files containing my code. It executes the code except the call:invoke() returns a null response. I checked my server logs and there was no attempt at a connection. I didn't change anything except I'm running command line. -Original Message-

Re: running with axis

2002-11-19 Thread Bahman Kalali
Did you check your classpath? Do you have all required jar files in your classpath while using running your app on command line? --Bahman - Original Message - From: "Tim Lee" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 19, 2002 1:40 PM Subject: running with axis >

running with axis

2002-11-19 Thread Tim Lee
I'm using visual cafe to run a program that connects to a webservice using stubs generated by WSDL2Java. I'm trying to figure out some problems I'm having running with axis. If I take a test program that runs perfectly fine in cafe and run it from the command line, the response from the call.invo

RE: mounting data sources to the net via web services

2002-11-19 Thread Asbell, Jonathan
See these links http://www.enosysmarkets.com/ http://jin.dis.vt.edu/fedsearch/ http://jin.dis.vt.edu/cgi-bin/fedsearch/dump-xml-list.pl?query=web http://www.dlib.org/dlib/september98/powell/09powell.html#Problem http://filebox.vt.edu/users/vdippold/fedsearch/ EMERGE - at NSA by Joe Futrelle SDAR

NoClassDefFoundError

2002-11-19 Thread Tim Lee
Hello all, I used WSDL2Java to build stubs for connecting to a webservice. It works fine on a test program but when I put the stubs into our software and try to invoke the Locator class I get the following exception: java.lang.NoClassDefFoundError: java/lang/reflect/InvocationHandler Any idea w

mounting data sources to the net via web services

2002-11-19 Thread Heitzso
Our branch of the Centers for Disease Control and Prevention is researching mechanisms to mount distributed data sources to the internet for querying and reporting. I ran across the Global Grid Forum's, GGF, http://www.globalgridforum.org Database Access and Integration Services Workgroup

Is there a way to get the input stream from the SOAP call or service?

2002-11-19 Thread Asbell, Jonathan
Is there a way to get the input stream from the SOAP call or service? I am having a devil of a time authenticating

Interface return type

2002-11-19 Thread Mattias Jiderhamn
I have a web service that should (for one method) return an object which conforms to the JavaBeans standard. However, I would like to have an interface for the class, and have the interface as the return type. But then Java2WSLD complains that "The class does not contain a default constructor,

RE: JMS sample can not run

2002-11-19 Thread Jaime Meritt
Kevin, Inline inside tags. Thanks, Jaime -Original Message- From: Kevin Wang [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 19, 2002 10:19 AM To: [EMAIL PROTECTED] Subject: RE: JMS sample can not run Thanks Jaime and David, I think I followed the instruction in AxisJMSSample.pd

RE: [want exceptions in Java interface]

2002-11-19 Thread Ruslan . Zenin
A similar issue thread is here: http://marc.theaimsgroup.com/?t=10371225709&r=1&w=2 Does it mean AXIS guys would fix it? regards, Ruslan Zenin http://www.geocities.com/russ_zenin -Original Message- From: mgitman Sent: November 18, 2002 9:15 PM To: axis-user Subject: Re: [want exce

RE: Deseraliazing anyType problem

2002-11-19 Thread Russell Brown
Oh, erm... I don't know, I am new to all this, there is the registerTypeMappingMethod() of org.apache.axis.client.Call, maybe that is what you need ?      QName qn = new QName( "urn:BeanService", "ArgumentSet" );     call.registerTypeMapping(ArgumentSet.class, qn,   new org.apache.axis

RE: JMS sample can not run

2002-11-19 Thread Kevin Wang
Thanks Jaime and David, I think I followed the instruction in AxisJMSSample.pdf, and I'm using the file-based jndi provider as methioned in the pdf file. Attached you can find the bindings file in "JNDIStore" folder. It is fine, isn't it? By the way, can I ask several questions? 1. We need impl

RE: Deseraliazing anyType problem

2002-11-19 Thread Charlesworth, Chico
I am trying to only generate axis client code, no server code. So I have only the wsdl to work with. The wsdl uses datatypes from http://schemas.xmlsoap.org/soap/encoding/ W3C schema, which I belive includes the anyType data type.   How can I specify my custom deserializer without usi

Re: using the getChildElements(Name) mechanism

2002-11-19 Thread Pedro Mendoza
solved,   instead of using:   mySOAPElement.getChildElements(mySOAPEnvelope.createName("myName"))   i used:   mySOAPElement.getChildElements(mySOAPEnvelope.createName("myName", "", ""))   hope this help - Original Message - From: Pedro Mendoza To: [EMAIL PROTECTED] Se

RE: Serializing / Deserializing

2002-11-19 Thread Russell Brown
Ben, I have, and it failed, but that lead me to closely examine my deployment descriptor. I realised that I had sepecified different urns in the name sapce of the beanmapping in the wsdd and the registerTypeMapping() on the call: pretty dumb I know. However it still failed, i had an odd malforme

Re: Serializing / Deserializing

2002-11-19 Thread Ben Souther
Just out of curiosity, have you tried your code with a simpler bean? One with only strings or integers? Just to insure that everything else is working? On Tuesday 19 November 2002 06:26 am, Russell Brown wrote: > Hi Again, > Ok I'm spamming the list: I have sorted the problem described in th

Re: <<< client calls with authenticating proxy >>>

2002-11-19 Thread Pedro Mendoza
hi Jonathan,   try using the following setup code   System.setProperty("proxySet", "true");System.setProperty("http.proxyHost", "yourproxyhost");System.setProperty("http.proxyPort", "yourproxyport"); System.setProperty("http.proxyUser", "yourproxyusername");System.setProperty("http.proxyPass

<<< client calls with authenticating proxy >>>

2002-11-19 Thread Asbell, Jonathan
I have seen many postings regarding webservice client calls through an authenticating proxy.  I have tried all of the solutions and have had no success.  The solutions I have tried are below.  Any suggestions?   ==NETWORK ARCHITECTUREinternal webse

using the getChildElements(Name) mechanism

2002-11-19 Thread Pedro Mendoza
hi everybody,   is there any reason for not obtaining any element (empty Iterator) when i use the mySOAPElement.getChildElements(mySOAPEnvelope.createName("myName")) mechanism for processing a reply SOAPMessage ?, i was able to do so using the SAAJ/JAXM 1.1 implementation by Sun, but AXIS 1.

RE: Deseraliazing anyType problem

2002-11-19 Thread Russell Brown
Chico, Please post your wsdd and the bit of your client code  that registers type mappings: I have had this issue , and thanks to the support from this list I have overcome.   Checklist: Is the anyType you are trying to deserialize a valid bean ?     have you set up the beanMapp

Deseraliazing anyType problem

2002-11-19 Thread Charlesworth, Chico
  Hi, I get the following axis exception when trying to deserialize the SOAP/XML response for the attached wsdl file.   Does anyone know of a way around this, is there an anyType Deserializer class I can use??   Exception in thread "main" AxisFault  faultCode: {http://xml.apache.org/a

RE: Problems with generated WSDL

2002-11-19 Thread Mattias Jiderhamn
H. It might have something todo with Resin, which has its own XML parser. If I put Xerces (1.4.4) first in the classpath, Java2WSDL seemed to work. I will have to try around a little and get back. If anyone has any experiense with Axis + Resin + WSDL, tips are welcome. > -Original Message

Problems with generated WSDL

2002-11-19 Thread Mattias Jiderhamn
I'm having problems generating WSDL files. Whether I user the "automatic" /services/Service?Wsdl or the manual Java2WSDL I get the same problem. The namespace references of the file are invalid. In the root element I get xmlns:="" and xmlns:="http://www.w3.org/2000/xmlns/";. I also get xmlns:="" i

Re: Text nodes returned as part of the SOAP response

2002-11-19 Thread Alex Dovlecel
AFAIK this is the normal behaviour for each parser. BEcause it does not know if the text before the tag is relevant or not... so the parser just gives it to you. If you have a DTD refference at the begining of your document and turn the parser validation on, you will not receive the text field

Text nodes returned as part of the SOAP response

2002-11-19 Thread jerome baumgarten
Hi, I am using Axis for some developements. I provide through Axis a simple web service returning the local time for a given city (ex Europe/Paris) and a Locale (ex fr). I retrieve the result from a java piece of code. During some testing I realized that I get two text nodes as part of the reponse

controlling the xml <-> java data mapping

2002-11-19 Thread Patrick Peck
hi, how can i control what kind of mapping gets generated by the wsdl2java tool? my intention is to not generate any xml <-> java mapping at all, since the message that gets transported will be highly structured content and an xml mapping for it exists as part of the 'business logic' any

RE: Serializing / Deserializing

2002-11-19 Thread Cédric Chabanois
Could you please post exception Stack trace. It would probably help ... Cédric > -Message d'origine- > De : Russell Brown [mailto:[EMAIL PROTECTED]] > Envoyé : mardi 19 novembre 2002 12:21 > À : [EMAIL PROTECTED] > Objet : RE: Serializing / Deserializing > > > Hi, > Cedric, thanks for y

RE: Serializing / Deserializing

2002-11-19 Thread Russell Brown
Hi Again, Ok I'm spamming the list: I have sorted the problem described in the previous post: not be recoding my deserializer, but by using the beanMapping tag and the default bean deserilaizer instead. Thanks again all Russell -Original Message- From: Russell Brown Sent: 19 November

RE: Serializing / Deserializing

2002-11-19 Thread Russell Brown
Hi, Cedric, thanks for your post, I had another good look at my Name Spaces and found that the one in the wsdd and the one in the client where quite different, which means it was my own stupid fault all along and I am past the no deserailizer error, however, I now have a new error that is equall

RE: extension support in wsdl2java

2002-11-19 Thread Tevoi Andrea
try this part of Schema in your WSDL: ... ...   Using WSDL2Java I have three classes: STRUCT, IN and OUT. IN and OUT extend STRUCT.   ciao Andrea -Original Message-From: Ankit [mailto:[EMAIL PROTECTED]]Sent: martedì 19 novembre 2002 11.35To: [EMAIL PROTECTED]Subject:

RE: Serializing / Deserializing

2002-11-19 Thread Cédric Chabanois
Hi, I have passed a bean to an EJB (stateless) as a webservice and got a result back My bean was very simple though (only simple types, no HashMap) In the server wsdd file, I put a beanMapping http://soapNcl/TEST1/"; languageSpecificType="java:fr.cognicase.webservices.COMMON.SEG1Bean"/>

extension support in wsdl2java

2002-11-19 Thread Ankit
Hi,   Does WSDL2JAVA support extension i.e. If in wsdl one type extends other type(using extension), will WSDL2JAVA generate classes as 'FirstClass  extends SecondClass'.   I tried to do so but failed.   any help?    thanx in advance.   Ankit ChansoriyaSoftware EngineerLisle Technology Pa

Security example bug ?

2002-11-19 Thread Geza.Szocs
Hi, I'm playing around with the security sample in Axis 1.0 release. I'm trying to add a digital dignature to my message. The sample seems to work, it runs without problems. Except when you try to write out the signed content after verification, nothing appears. I wondered could it happen that

RE: Serializing / Deserializing

2002-11-19 Thread Mattia dongili
Hi, I probably missed some post but I recall having a similar problem when using Jboss.NET in 3.0.3-tomcat4.1.12. the problem was Jboss using some alpha/beta release and me using the 1.0 release of Axis. I had this problem trying to send and receive a BigDecimal object: the request was serialized

RE: Serializing / Deserializing

2002-11-19 Thread Russell Brown
Hi Again, I'm really sorry to go on about this issue on this list but its driving me mad, I have been looking at this for over a week now. I have even got the Axis source code and hacked around with it so I can see at least which classes are doing roughly what. Now... I notice there is a Macrome