MessageContext?

2002-04-04 Thread Hozefa Botee
If I want to access the MessageContext to add a header to the response from a client call, where is the appropriate place in my code to call MessageContext.getCurrentContext()? if I put it in the constructor of my service with some debugging code, it appears that the constructor gets called twic

Messaging example?

2002-04-04 Thread Shang, Wencheng (Exchange)
Where can I find more messaging examples? The samples.message.MessageService is not good enough. It doesn't explain what the method signature is in messaging service. Thanks in advance.  Bear Stearns is not responsible for any reco

Changing the call object's target endpoint in a header processor

2002-04-04 Thread DIWAN,SHRIDHAR (HP-Cupertino,ex1)
Hi, On the client side, in a header processor handler, is it possible to change the call object's target endpoint so that the request can go to the new endpoint (instead of the old one)? What I am seeing is (beta 1), even if I do call.setTargetEndpoint(newEndpoint) in a header processor, the req

AW: Problem of AddressBook sample

2002-04-04 Thread Roman Brueckner
I came across the same error, I 'm not 100% sure how I resolved it, but I think I simply copied all class files in the \axis\WEB-INF\classes folder and redeployed the service. Well give it try! Roman -Ursprüngliche Nachricht- Von: Liu, C.C [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag,

Re: Problem of AddressBook sample

2002-04-04 Thread M. en C. Jesús Sosa Iglesias
If You delete the File AddressBookSOAPBindingImpl.java before doing the stubs and Skeletons you get an empty Implementation in AddressBookSOAPBindingImpl.java, so you have to insert the code to implement the addressbok in a java Map Object. If You don´t delete the file AddressBookSOAPBindingImpl.

RE: Service deployment location

2002-04-04 Thread Newman, Scott
The only way I can get (not using MyService example though) to work is by placing the class file directly into the web-inf classes folder.  If I put it even one folder deep in the web-inf/classes folder, it will not work.  Is this by design?  And yes, I did specify the folder hierchy in

RE: Problem of AddressBook sample

2002-04-04 Thread Liu, C.C
Yes, the interface AddressBook.java is implemented by AddressBookSOAPBindingSkeleton.java and AddressBookSOAPBindingImpl.java on the server side. On the client side, it's implemented by AddressBookSOAPBindingStub.java C.C. Liu -Original Message- From: M. en C. Jesús Sosa Iglesia

RE: Problem of AddressBook sample

2002-04-04 Thread Walden Mathews
Title: RE: Problem of AddressBook sample Oh, sorry.  I responded to the wrong thread.  Well, could be relevant anyhow...   WHM -Original Message-From: Walden Mathews Sent: Thursday, April 04, 2002 4:54 PMTo: '[EMAIL PROTECTED]'Subject: RE: Problem of AddressBook sample Ye

RE: Problem of AddressBook sample

2002-04-04 Thread Liu, C.C
Yes, I followed the standard procedures. As a matter of face, AddressBook.wsdl produced both deploy.wsdd and undeploy.wsdd, it amazing. C.C. Liu -Original Message- From: Volkmann, Mark [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 4:48 PM To: '[EMAIL PROTECTED]' Subjec

RE: Problem of AddressBook sample

2002-04-04 Thread Walden Mathews
Title: RE: Problem of AddressBook sample Yes.  You know what I think the problem is?  I'm just now approaching this from another angle.  The manual is extremely ambiguous about how to access a service, in particular what exact url to use for a given service.  Looks like if I use a url like

Re: Problem of AddressBook sample

2002-04-04 Thread M. en C. Jesús Sosa Iglesias
Do you have a implemented Interface (AddressBook) in the file AddressBookSOAPBindingImpl.java ? "Liu, C.C" wrote: > Hi, > > I tried AddressBook in beta1, I generated all java files from > AddressBook.wsdl by run Wsdl2java, > compiled and deployed files for server and client on two different m

RE: Problem of AddressBook sample

2002-04-04 Thread Volkmann, Mark
Title: RE: Problem of AddressBook sample Did you deploy the service by running AdminClient on deploy.wsdd? > -Original Message- > From: Liu, C.C [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 04, 2002 3:31 PM > To: '[EMAIL PROTECTED]' > Subject: Problem of AddressBook sample > >

Problem of AddressBook sample

2002-04-04 Thread Liu, C.C
Hi, I tried AddressBook in beta1, I generated all java files from AddressBook.wsdl by run Wsdl2java, compiled and deployed files for server and client on two different machines without any problem. I can access the server from my brower to have WSDL dump via http://../services/CCAddressBook?w

RE: Streaming

2002-04-04 Thread Simon McClenahan
Have you thought about using SOAP with Attachments? I am (or will be) doing document transfers over HTTP transport. MIME is sufficient, the proposed DIME standard may be better but there's no implementation right now. Any compelling reason for you to not use SwA/HTTP? I assume you're using H

Any JAVA2XSD or JAVA2Schema ????

2002-04-04 Thread seidhi Help
Hi, How does the AXIS FW/tool validate the SOAP/XML payload that it receives from a client. I would guess there is some sort of "schema" or "DTD"[i doubt so] that is associated with the xml data that is sent across the wire. Or is it just the "well-formed"ness that would suffice. Is there a way t

RE: deserialize anyType

2002-04-04 Thread Simon McClenahan
I wouldn't expect any SOAP server to be able to deserialize a base type such as anyType, the equivalent of java.lang.Object . I have the same symptoms as your gSOAP client stub with the Axis client stub. For Axis, I stumbled on a workaround by leaving multirefs enabled. See my recent message http:

Re: Problem with Java2WSDL BUG????

2002-04-04 Thread Christian Gross
As some final feedback. When I take the files on the Windows box and then run them on the Linux box everything works like it should. So now I am really tempted to believe something got broke between March 27 and now? Could anybody agree or disagree with this? Should I be looking at what ha

RE: Service deployment location

2002-04-04 Thread Walden Mathews
That seems to address a different problem, though.  How/where do you deploy your web service classes?  Do you jar them also?  BTW, my Tomcat installation has not "common" directory in the tree.  Is that significant?   wm -Original Message-From: Adam Greene [mailto:[EMAIL PROTE

RE: Service deployment location

2002-04-04 Thread Robert Chu
I believe it will keep working great that way until there are multiple incompatible javax.* implementations (note: may be just different versions) of the same classes get deployed by different Axis applications. -Original Message-From: Adam Greene [mailto:[EMAIL PROTECTED]]

Re: Service deployment location

2002-04-04 Thread Adam Greene
Actually put every jar file in the webapps/axis/web-inf/lib, except jax-rpc.jar because any file that contains javax.* namespaces on pacakage must be put in the %TOMCAT_HOME%\common\lib directory.  That is how I do it and it works great. - Original Message - From: Walden Mat

Re: Problem with Java2WSDL BUG????

2002-04-04 Thread Christian Gross
Hi Thanks for your feedback, but it did not help. However I did manage to get it to work and let me explain why. I have two configurations. One is a Windows Box and another is a Linux PowerPC box. The Windows Box has a distribution of Axis that is from March 27. Whereas the Linux PowerPC

RE: Service deployment location

2002-04-04 Thread Volkmann, Mark
The only other idea I have is to run AdminClient passing it the parameter "list" after running it with "deploy.wsdd" as the parameter to verify that MyService shows up in the list. -Original Message-From: Walden Mathews [mailto:[EMAIL PROTECTED]]Sent: Thursday, April 04, 2002 11

RE: Service deployment location

2002-04-04 Thread Walden Mathews
That's exactly how I expected it to work, but it didn't.  See below the SOAP fault message from tcpmon.  Notice the stacktrace doesn't mention a NoClassDefFounError, so is it something else?  Problem clears up when I put the classes explicitly in Tomcat's classpath.   http://schemas.xmlsoa

RE: Service deployment location

2002-04-04 Thread Volkmann, Mark
I don't believe the statement "As you are talking with axis, not tomcat wheni nvoking a service, axis can´t load classes the same as tomcat" is correct. I don't put anything related to Axis in my classpath before starting Tomcat.T omcat gets everything it needs to run Axis from the axis web

Internal Server Error

2002-04-04 Thread Ramzy
Hi, I've deployed correctly a service on axis beta1 engine but when I tried to call it with a client it fails with the following error message : [java] Internal Server Error [java] at org.apache.axis.transport.http.HTTPSender.invoke(Unknown Source) [java] Error [java]

RE: Service deployment location

2002-04-04 Thread Walden Mathews
"axis can't load classes the same as tomcat"   Do I smell a requirement here, guys?   Walden -Original Message-From: M. en C. Jesús Sosa Iglesias [mailto:[EMAIL PROTECTED]]Sent: Thursday, April 04, 2002 12:04 PMTo: [EMAIL PROTECTED]Subject: Re: Service deployment location 

Re: Service deployment location

2002-04-04 Thread M. en C. Jesús Sosa Iglesias
  As you are talking with axis, not tomcat when invoking a service, axis can´t load classes the same as tomcat. Axis use the Classpath to find classes, So you have to set up the classpath before start tomcat : I put inside Tomcat Bat.     set CLASSPATH=h:\jakarta-tomcat-3.2.3\webaps\axis\web-inf

RE: Service deployment location

2002-04-04 Thread Walden Mathews
Yes, that's where it is.  It got there when I copied $AXIS_HOME/webapps/axis to $TOMCAT_HOME/webapps, as the installation guide says to do.  So I shouldn't need to do anything to activate these services.  I can get them to work by copying $TOMCAT_HOME/webapps/axis/web-inf/classes to $TOMCA

RE: Problems calling Axis service from .NET C# client

2002-04-04 Thread Peter A. Kozma
Hello Vidyanand, Thanks for the info. I updated my AXIS to the 4/3 build and now the response coming back from AXIS no longer has the prefix and it works (see details below). So, something must have changed between builds because I am not doing anything different today? Here is the response messa

RE: Service deployment location

2002-04-04 Thread Volkmann, Mark
Are you putting MyService.class in $TOMCAT_HOME/webapps/axis/WEB-INF/classes/samples/userguide/example3? -Original Message-From: Walden Mathews [mailto:[EMAIL PROTECTED]]Sent: Thursday, April 04, 2002 10:10 AMTo: '[EMAIL PROTECTED]'Subject: RE: Service deployment location

NoSuchMethodError

2002-04-04 Thread Brenda Coulson
I am trying to use Axis with Tomcat and I am receiving an Internal Server Error when I attempt to deploy and run the StockQuote example. It seems as if I may have an inconsistency with my classes, but not sure where to look. Any help would be appreciated. Stack trace is shown below: 2002-04-04 11

RE: Service deployment location

2002-04-04 Thread Walden Mathews
YEah, that's what I thought, and that where they are by default when you install Axis according to the installation guide.  BUT... tomcat didnt' find the class for example3 there, and I can't seem to figure out why.  Clues?   Walden -Original Message-From: Volkmann, Mark [mail

RE: Service deployment location

2002-04-04 Thread Volkmann, Mark
You should put .class files under $TOMCAT_HOME/webapps/axis/WEB-INF/classes, in the correct package hierarchy of folders of course. Put JAR files your service uses in $TOMCAT_HOME/webapps/axis/WEB-INF/lib. -Original Message-From: Walden Mathews [mailto:[EMAIL PROTECTED]]Sent: Th

bug in mentioning xsi:type

2002-04-04 Thread Jelda, Venkata Ramana
HI, Here I will explain problem with a simple example. I have a two simple types in my wsdl file, names Size_Type and Test_Type (just an ex.) 1) Type represented packetsize-value. 2)

Service deployment location

2002-04-04 Thread Walden Mathews
Where is the correct place to deploy web service classes to Axis running as a Tomcat servlet?  The examples are packaged into a folder hierarchy under Axis/Web-inf, but Tomcat doesn't seem to be able to locate them there.  If I move them to a "classes" folder directly under Tomcat, they a

Streaming

2002-04-04 Thread jean . seurin
Hi folks, We're developping a webservices that sends back a particular object. We've implemented our own serializer & deserializer for that kind of object. Our problem is that those kind of object, once serialized in xml, are huge (up to 10MB). As the SOAP envelope is entirely generated in memory

Re: Problem with Java2WSDL

2002-04-04 Thread Stan Jordan
Christain... I got this example to work. Look in the archives for how-to. Sent: Thursday, March 28, 2002 9:19 AM Subject: WSDL2Java issue (samples/userguide/example5) Good luck. Stan - Original Message - From: "Christian Gross" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thurs

Re: axis and cryptography ?

2002-04-04 Thread matt
Sorry about the delay in responding. The ServiceDelegate is just an abstraction for the web tier - delegate pattern. In this class, I have a static init that sets a system property - System.setProperty("axis.ClientConfigFile", wsddPath). This tells Axis client where to find the WSDD file that it

Problem with Java2WSDL

2002-04-04 Thread Christian Gross
I tried running the sample/userguide/example5 through the Java2WSDL tool and I keep getting the error: java.lang.NoSuchMethod error in org.apache.axis.wsdl.fromJava.ClassRep The original error came from an interface that references another interface, but I decided to test on a standard sample

deserialize anyType

2002-04-04 Thread munjal
Hi, Axis server returns an error unable to deserialize anytype. I am using a client written using gSOAP (a C++ SOAP complier) and I am passing dynamic arrays of structures. I suppose gSOAP encodes the array as anyType and the AXIS server is unable to deserialize this. Is this a bug in Axis? Is

RE: Document style service with two methods

2002-04-04 Thread Ramon Turnes
Hi Stan, I did not tried to call setOperationName() because I create the whole body of the SOAP envelope and I think that call.setOperationName() won't help in this case. However, I will give it a try. Nice to hear that it worked for you. Regards. Ramon. > -Original Message- > From: St

JWS broken

2002-04-04 Thread Adam Greene
I have tried every beta1 since March 19 (including April 3rd's build) and .JWS support doesn't seem to be working.  The official Beta1, it works, just nothing after that.  I'm running Apache 4.0.2, JDK 1.4.0, and Apache AXIS Beta 1.   Anyone else notice this??