Complex return type question

2003-08-15 Thread Harry_Wen
Hi all I have a method which returns a user-defined compelx object ..But this object in turns contains a java.util.Set that contains complex type elements. Each of the elements again contains complex type objects. I want to call this method(LogIn) in .NET front end. How do I deal with this object

Re: client Ip address

2003-08-15 Thread Vladimir Umansky
Take a look at axis samples at: C:\axis\samples\jaxrpc\hello\ServerHandler.java --- Justin Avaya <[EMAIL PROTECTED]> wrote: > > Hi, > > I am writing a simple RPC using JAVA and then using > AXIS. > > I am not sure where to implement the request handler > that Vladmir suggested. > > I tried a

Re: client Ip address

2003-08-15 Thread Justin Avaya
Hi,I am writing a simple RPC using JAVA and then using AXIS. I am not sure where to implement the request handler that Vladmir suggested.I tried adding it to the RPC method itself [I am sure it is wrong but it was giving me null]Looking forward for your help.package exportbean;import javax.xml.rpc.

RE: Deploy a Service in a ServiceObject??

2003-08-15 Thread Mike Perham
Another possiblity would be UDDI, which is designed specifically to solve dynamic service registration and discovery. -Original Message- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Friday, August 15, 2003 1:12 PM To: [EMAIL PROTECTED] Subject: RE: Deploy a Service in a Servic

RE: Deploy a Service in a ServiceObject??

2003-08-15 Thread Anne Thomas Manes
WS-Addressing describes a way to reference a Web service by its endpoint. See http://www-106.ibm.com/developerworks/webservices/library/ws-add/ Anne At 06:44 PM 8/15/2003 +0200, you wrote: Yes i know! Ok, i wrote an app and this app is the webservice. I need another webservice to let my app commu

Re: Using CastorSerializer for return value causing error

2003-08-15 Thread Whitney Hunter
Thanks for the help. Steve Maring wrote: The CastorSerializer in the Axis source tree is flawed. Remove the first line of the serialize method that makes reference to serializationContext.startElement(). This will fix your problem. I'd highly recommend writing your own so that you can use y

Re: Using CastorSerializer for return value causing error

2003-08-15 Thread Steve Maring
The CastorSerializer in the Axis source tree is flawed.  Remove the first line of the serialize method that makes reference to serializationContext.startElement().  This will fix your problem.  I'd highly recommend writing your own so that you can use your own mapping anyway.   Cheers. Steve Maring

Using CastorSerializer for return value causing error

2003-08-15 Thread Whitney Hunter
Hi, I am writing a service that uses the Castor serializer/deserializer. I have gotten it to deserialize my input document into a Castor object. However, when I return another Castor object, it does not get serialized correctly. It seems to be duplicating the root element. For example my test

WSDL2Java generating class names with an intial underscore [Resend]

2003-08-15 Thread Matt Stupple
[Apologies to anyone who has seen this before - it didn't seem to get through to the list forst time.] I have a doc/literal web service, WSDL generated from .NET. My WSDL defines various types, for example: When I generate Java

RE: Deploy a Service in a ServiceObject??

2003-08-15 Thread Frank Schoenau
Yes i know! Ok, i wrote an app and this app is the webservice. I need another webservice to let my app communicate with many other nodes. At the moment i communicate from node to app about another service. My question is, how can one Webservice communicate with another by reference? So that my no

RE: Deploy a Service in a ServiceObject??

2003-08-15 Thread Hansen, Richard
What do you mean by "create"? Generating code and compiling it into a class or just constructing using new. This is all just Java. You can call any object you create, just like usual. > -Original Message- > From: Frank Schoenau [mailto:[EMAIL PROTECTED] > Sent: Friday, August 15, 2003 11:0

Deploy a Service in a ServiceObject??

2003-08-15 Thread Frank Schoenau
Hi is there any way to deploy an Object that was created in a Service as a new Service? What i mean is that i deploy a service A, who creates an Object B. Now i would deploy this Object B as a Service from service A. I need this two services to communicate to each other?? Is there no other way

Re: dissappearing exception types from method signature

2003-08-15 Thread Stuart Barlow
Thanks Mike. I have now seen the earlier discussion. But Im not sure if it is true. If you decompile the class file (produced by Sun JDK 1.4.2 compiler) then both exceptions are mentioned in the signature. I state both exceptions in the signature so that the SOAP toolkit knows about the exception a

Re: castor & axis & marshalling

2003-08-15 Thread Steve Maring
I don't think I am going to dive too deep into the operation of the SerializationContext.  Only when and why serialize and startElement get called.  I'll probably have a draft late next week some time.  I'll announce it here.   Cheers Steve MaringArijith Roy <[EMAIL PROTECTED]> wrote: Hi Steve,  

Re: Can't find default constructor exception on the client side

2003-08-15 Thread Steve Maring
Yes.  You should only allow the BeanSerializer to manage your type mapping if you had the wsdl2java process generate your beans or your WSDL was generated by a java2wsdl base on your beans, which would have to be REAL JavaBeans with default constructors.  Otherwise, you will need to plug in a custo

Re: castor & axis & marshalling

2003-08-15 Thread Arijith Roy
Hi Steve,   Looks like you have done a lot of work with those debug statements. Could you help me a bit by publishig your findings. I am going through that pain right now and woud appreciate a few pointers in placing the debug statements in the right order . Thanks.Steve Maring <[EMAIL PROTECTED]>

RE: dissappearing exception types from method signature

2003-08-15 Thread Mike Perham
This was discussed about a week ago. Check the archives. -Original Message- From: Stuart Barlow [mailto:[EMAIL PROTECTED] Sent: Friday, August 15, 2003 5:02 AM To: [EMAIL PROTECTED] Subject: dissappearing exception types from method signature I have a java interface with the following

Re: castor & axis & marshalling

2003-08-15 Thread Steve Maring
Hi Cory,   "yes you can"  I have a DOCUMENT/LITERAL service whereby the top level element of the soap body represents either a request or response to my method and my parameters are based on external XSD and JavaBeans that I want Castor to marshal.  You could easily plug in any marshaller as a cus

No Deserializer found when using Handlers

2003-08-15 Thread Kolley, Martin
Hello,   I'm trying to extend my web service with handlers. My client send a java bean to the server and back. Without handlers the service works fine. But when a handler is added using   call.setClientHandlers(new Handler(),null);     I get the following exception   org.xml.sax.

Re: client Ip address

2003-08-15 Thread Vladimir Umansky
Sorry, HandlerUtil is a snippet of my code, should just be HTTPConstants.MC_HTTP_SERVLETREQUEST. Vlad --- Balaji D L <[EMAIL PROTECTED]> wrote: > Vladimir & justin, > The HandlerUtil.MC_HTTP_SERVLETREQUEST is not > working, its returning null value(for me).. > the HTTPConstants.MC_HTTP_SERVLE

Graphical Modelling Frameworks ?

2003-08-15 Thread Ajit Sadasivan
Hi, I am posting a slightly off topic question. We have the requirement for developing a java application which helps users in generating a UML deployment diagram like view.They should be able to graphically select predefined template objects ( with properties ) and connect them togeth

MapDeserializer: HashMap empty

2003-08-15 Thread Michael Konietzka
Hi, i am regarding problems with deserialization to a HashMap within an AXIS Client. Server is a PHP-SOAP-Service, self developed from someone else. This is the SOAP-Response: http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org

Re: client Ip address

2003-08-15 Thread Balaji D L
Vladimir & justin, The HandlerUtil.MC_HTTP_SERVLETREQUEST is not working, its returning null value(for me).. the HTTPConstants.MC_HTTP_SERVLETREQUEST is working fine. --- Vladimir Umansky <[EMAIL PROTECTED]> wrote: > > You can get it through MessageContext: > > handleRequest(MessageContext con

dissappearing exception types from method signature

2003-08-15 Thread Stuart Barlow
I have a java interface with the following method... public String logon(String libraryName, String userName, String domain, String password) throws DmSystemException, DmInvalidLogonException; After I run Java2WSDL and WSDL2Java the method has changed to... public java.lang.String logon(java.la

Re: Can't find default constructor exception on the client side

2003-08-15 Thread Stuart Barlow
I think that AXIS requires a default constructor if you are using bean based serialization. Maybe possible with custom serialization? someone else know? [EMAIL PROTECTED] wrote: Hi, I have an abstract class, Users, that is extended by several classes such as Administrator, Tester etc. My servic