Office 2003 Research Pane services in Axis...

2003-07-30 Thread Carey Nation
Hi, I'm trying to write a service in axis that can service the new research pane in office 2003. The api for the pane is very simple. There are two methods, Registration and Query, both of which take a string with xml and return a string with xml. No matter what I try, office doesn't like what I'

Re: Stub Caching

2003-07-30 Thread Steve Earl
Would you mind posting some of your caching code? Steve... >>> [EMAIL PROTECTED] 07/30/03 16:45 PM >>> Hi, I just wanted to share some insight we have had with some performance testing of web services sitting on top of Axis. Based on the initial analysis carried out the majority of the time s

Stub Caching

2003-07-30 Thread Power, Conor
Hi, I just wanted to share some insight we have had with some performance testing of web services sitting on top of Axis. Based on the initial analysis carried out the majority of the time spent on the client side when invoking web services is in the method YOUR_SERVICE_STUB.createCall(). This i

Re: Need WSDL for this SOAP message

2003-07-30 Thread Anne Thomas Manes
Title: Need WSDL for this SOAP message One other point:   If you want to use "wrapped" then the operation name must be the same as the input message name:                                                   If the operation name isn't the same as the input

Re: Need WSDL for this SOAP message

2003-07-30 Thread Anne Thomas Manes
Title: Need WSDL for this SOAP message Ah, but this isn't correct. When using doc/literal, your message definitions must reference an element definition rather than a type definition.   So in your section you also need to define an definition for each message part. It should look like th

Unbounded elements vs SOAP Arrays

2003-07-30 Thread Max Johnson
I cannot get unbounded elements to work correctly. After generating Java bindings from the WSDL (using WSDL2Java) I am able to deploy the service and run it. However, when a client accesses the service, the response is invalid and the client fails (I've tried several different clients with the same

Re: WSDL4J Question: How to add soap:header elements to WSDL document?

2003-07-30 Thread Davanum Srinivas
There's another forum where you need to ask this - http://groups.yahoo.com/group/jsr110-eg-disc/ Thanks, dims --- Steve Pannier <[EMAIL PROTECTED]> wrote: > We are using Axis 1.1, and we use the "Java2WSDL" tool to create WSDL > describing our already-existing services. We now want to include in

RE: No such operation error

2003-07-30 Thread LCarreon
On the client, I am simply using the stub classes that were auto generated by WSDL2Java. Is there a problem in this auto generated code that I need to make manual modifications to it? On the server, I am simply deploying the implementation classes that were also auto generated by WSDL2Java. What

Re: wrapped services

2003-07-30 Thread Anne Thomas Manes
RE: wrapped servicesSome further reading on "wrapped" services: http://www.fawcette.com/javapro/2003_03/online/wsdl_kjones_03_10_03/default_ pf.asp This article includes a sample WSDL file and sample code. It is based on Axis 1.1 beta. http://groups.yahoo.com/group/soapbuilders/message/7248 This

RE: No such operation error

2003-07-30 Thread Jim Dibble
Are you qualifying the operation name with the target namespace (http://repository.towertech.com/)? Some web service platforms are quite picky about including the namespace, although I don't think that axis usually is. However, the error message for a missing namespace often looks like the one th

No such operation error

2003-07-30 Thread LCarreon
Can someone please give me a clue why I'm getting the error message "No such operation 'name'" with one of my webservice methods. I'm getting this problem both in Axis 1.0 and Axis 1.1 which are integrated into JBoss 3.2.1 and 3.2.2, respectively. Here is what I have done: 1. Took two WSDL's gene

RE: Need WSDL for this SOAP message

2003-07-30 Thread Hansen, Richard
Title: Need WSDL for this SOAP message Here is a wsdl I used to create a doc/literal service. The WSDL is defined as usual, with all the standard parts, no matter what style.     name="demo"   targetNamespace="http://www.tlr.bis.com/rating.wsdl"   xmlns="http://schemas.xmlsoap.org/wsdl/" xmln

RE: wrapped services

2003-07-30 Thread Mike Perham
Title: Message Message just means the SOAP message is handed to your java directly rather than decoded into arguments.  It has nothing to do with WSDL.   http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/MsgSignatures -Original Message-From: Wendy Smoak [mailto:[EM

Deserializing XML with AXIS

2003-07-30 Thread Airline Pedestal
Hi Everyone, I've written several deserializer classes which extends the DeserializerImpl class. All these classes together get called based on the typemappings that I have defined. In that regard, all is well and the XML gets marshalled correctly. Although, I'd like to reuse this deserializ

RE: wrapped services

2003-07-30 Thread Wendy Smoak
Title: RE: wrapped services Anne wrote: > If you're building a service agent in Axis, then you can use java2wsdl > to generate the WSDL file, although there are still some bugs in this process. > (The design center for doc/literal assumes that you start with a WSDL file. > I think this is an

Need WSDL for this SOAP message

2003-07-30 Thread Wendy Smoak
Title: Need WSDL for this SOAP message This is from the Axis Users Guide, in the section explaining the difference between Document and Wrapped services: http://xml.apache.org/axis/wsdd/"     xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">       http://commerce.com/PO"

Re: deserializer not found

2003-07-30 Thread List Man
I forgot to say that the bean mapping goes in your deployment descriptor in the deploy section outside of the service section. Meaning ... On Wednesday 30 July 2003 02:51 pm, List Man wrote: > If you are getting this error on the server side you prob

Re: Using BeanSerializer

2003-07-30 Thread List Man
If you mean you want to use the built in BeanSerializer on the client side then all you have to do is register the bean in the call with a serializer and push it down. Eg: Call = Service.getCall(); Call.setTargetEndPoint("http://middle.of.nowhere/service";); //Begin what I think you want to kn

Re: deserializer not found

2003-07-30 Thread List Man
If you are getting this error on the server side you probably need a bean mapping like so. On Wednesday 30 July 2003 04:42 am, Kareem Ghazal wrote: > Hello,0 > > I'm using the IBM's WSDK which uses axis. I figured out how to set the > serializer/deserializer on the client by getting hold of the

RE: AdminClient not found - still thrashing

2003-07-30 Thread ZHANG,SHANNON (HP-NewJersey,ex2)
Hi Marcia, I just installed axis couple of days ago, so I am new, too. Correct me if I am wrong, but I believe the AdminClient class is in axis.jar and I don't think you need to have soap.jar in your classpath for axis to work. I think soap.jar belows to the SOAP project. Shannon -Original M

Re: Adding header info to WSDL

2003-07-30 Thread Anne Thomas Manes
If you are sending simple types, then you don't have to define them in the section, but you'll have to use rpc/encoded in the soap:header definition. Anne - Original Message - From: "Steve Pannier" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 30, 2003 4:22 PM Subject

WSDL4J Question: How to add soap:header elements to WSDL document?

2003-07-30 Thread Steve Pannier
We are using Axis 1.1, and we use the "Java2WSDL" tool to create WSDL describing our already-existing services. We now want to include in the generated WSDL a description of the Soap headers we support. I know of no way for Axis's "Java2WSDL" to do this, so I am currently looking at using the WSD

Re: AdminClient not found - still thrashing

2003-07-30 Thread Marcia Perry (DSD staff)
Hi Folks, I'm a newbie, thrashing about and reading these posts before asking my own questions. This helped me out so I'm checking my classpath. QUESTION: I see that Steve Pruitt's classpath has the soap.jar in tomcat's common/lib directory. I am using Tomcat v4.1.24 and I do NOT have a soap.

Re: Adding header info to WSDL

2003-07-30 Thread Steve Pannier
Actually, that wasn't me. It was the original poster (Sam) who said it. I was continuing the thread because it addressed the problem I'm encountering. I probably should have started a new thread to avoid confusion, or indicated in my original post what my situation is. My bad. At any rate, giv

Re: Adding header info to WSDL

2003-07-30 Thread Anne Thomas Manes
Steve, You said initially that you want your authentication header to look like this: This is a complex structure, therefore it must be defined in the section. Anne - Original Message - From: "Steve Pannier" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 3

Re: Adding header info to WSDL

2003-07-30 Thread Steve Pannier
Ann, Thanks for the response. Here's my dilemma: We are using Axis 1.1, and we use the "Java2WSDL" tool to create WSDL describing our already-existing services. We now want to include in the generated WSDL a description of the Soap headers we support. I know of no way for Axis's "Java2WSDL" to

Java2WSDL: Can't user Java interfaces in method sigs?

2003-07-30 Thread Wendy Smoak
Title: Java2WSDL: Can't user Java interfaces in method sigs? I'm trying to expose this method as a web service:    public String subscribe(Subscription sub); Subscription is an interface, and there's a SubscriptionImpl implementation.  The interface just has the get/set methods, and Subscr

Re: Secret handshake for mail list unsubscribe

2003-07-30 Thread bin
This is a list that has lots of activity but one's stuck with it for life. I've been a victim of unsuccessful unsubscription for six months. REWARD: A Jackson shall be sent to the rightful person that unsubscribes me from this god forsaken organization. Please include address herein. Undersigne

Re: wrapped services

2003-07-30 Thread Anne Thomas Manes
Title: RE: wrapped services Yes and no. The normal programming model for .NET is an RPC-style invocation -- and that's regardless of whether the message is formatted using doc/literal or rpc/encoded. The really important thing to grok here is that the application program really shouldn't be c

Re: wrapped services

2003-07-30 Thread Anne Thomas Manes
Axis doc/literal works with both message style and rpc style services. The message vs. rpc attribute refers to the "provider", which is a WSDD attribute. It indicates whether or not Axis should marshal/unmarshal the message for you. If you use "message", then Axis passes the message payload as XML

Re: Adding header info to WSDL

2003-07-30 Thread Anne Thomas Manes
Per the WSDL spec, the soap:header element [1] is constructed as follows: * The message="qname" and part="nmtoken" attributes refer to a message element [2], and you must define that message . * * The wsdl:part requires either an element or a type attribute. If you were sending

Problem with Java2WSDL

2003-07-30 Thread Wendy Smoak
Title: Problem with Java2WSDL I ran into a small problem with Java2WSDL.  The -C switch, for which the usage says... -C, --importSchema A file or URL to an XML Schema that should be physically imported into the generated WSDL ...doesn't seem to work with a file.  At least, if I just give

Re: Authenticating Users in AXIS

2003-07-30 Thread ian_d_stewart
Probably the easiest way to handle this is by setting use-servlet-security to true in the AxisServlet init-params in web.xml. If you need to implement your own authentication and just want to use HTTP authentication to access the username and password, in your AuthenticationHandler raise an Axis

How to map mime-extentions to mime-types in an Axis service

2003-07-30 Thread William Barber
Greetings, I've written an Axis client/service pair that uses "soapConnection.call()" to send SOAP attachments to the service, along with parameters specifying input and output mime-extensions. The client will not know the actual mime-type of the response attachment that the server will return aft

RE: wrapped services

2003-07-30 Thread Cory Wilkerson
Title: RE: wrapped services So the "wrapped" style is intended to emulate RPC over doc/literal -- no?  And, frameworks like Axis have to work off assumptions that the data coming in will not only be a complexType, but also have a name == "parameters"?   Cory -Original Message-From:

Re: wrapped services

2003-07-30 Thread Anne Thomas Manes
Title: RE: wrapped services You might find this link a little more enlightening: http://msdn.microsoft.com/library/default.asp?url="">   .NET supports two ways to generate the schema for doc/literal messages: - bare - wrapped   In bare, the generated definition contains a different element

Secret handshake for mail list unsubscribe

2003-07-30 Thread Smith, Doug
Title: Secret handshake for mail list unsubscribe Can anyone tell me the secret for unsubscribing from the axis user mail list. Yes, yes - I followed the instructions I received when I first subsribed to the list. I also sent mail to the list owner to no avail. Thanks. --doug

Re: Adding header info to WSDL

2003-07-30 Thread Steve Pannier
A couple questions: 1) Do you have any examples of doing this programmatically using the WSDL4J API? 2) Why do I need to add stuff to the "types" and "part" sections of the WSDL? The spec only mentions the soap:header element in the binding input section when talking about Soap Header suppo

Re: wrapped services

2003-07-30 Thread Anne Thomas Manes
Title: RE: wrapped services Wendy,   Document/literal means that you have defined a schema element definition for the SOAP message (the contents of soap:body) and that the message conforms to that schema.   RPC/encoded means that you have defined the types of the message elements that you wi

Authenticating Users in AXIS

2003-07-30 Thread Marc Boorshtein
Is there any documentation on authenticating users in AXIS via http? I see the HTTPAuth class, but I have no idea how it works and I cant find any documentation. Thanks -- Marc Boorshtein <[EMAIL PROTECTED]> OctetString

RE: AdminClient not found - did it again

2003-07-30 Thread Steve Pruitt
My apologies to the list. I found my problem in record time. Only two minutes after hitting the send button. :>( Yes, its been one of those days. I wish I could have retracted that post. I found my error about five minutes after hitting send. With a distinct possibility of committing th

RE: Do server side handlers really work?

2003-07-30 Thread Yakulis, Ross (Ross)
I dug in the source and noticed that the response headers are not "automatically reflected back into the stub list". This seems to be a change. How would I get the response headers then? Why was this changed from RC1? -Original Message- From: Yakulis, Ross (Ross) Sent: Wednesday, Jul

RE: AdminClient not found - still thrashing

2003-07-30 Thread Steve Pruitt
Yes, its been one of those days. I wish I could have retracted that post. I found my error about five minutes after hitting send. With a distinct possibility of committing the same sin. I still have a class path problem trying to install the same service, only now its Exception in thread "m

RE: wrapped services

2003-07-30 Thread Cory Wilkerson
Title: RE: wrapped services It'll be nested elements...have no fear, as far as your asp SOAP stuff goes, give me a bit -- I generated the same thing last night but didn't save it ;)   Cory -Original Message-From: Wendy Smoak [mailto:[EMAIL PROTECTED]Sent: Wednesday, July 30, 2003

thanks->Re: Axis wsdl-generation with

2003-07-30 Thread remko de knikker
Thanks Jeff. I don't think that it is a good solution by Axis, but soi. remko Jeff Greif wrote: If I understand correctly, you're not doing anything wrong. I believe Axis is only supposed to register the existence and location of this imported file, and to use it if it needs to. Similarl

RE: wrapped services

2003-07-30 Thread Wendy Smoak
Title: RE: wrapped services Davanum Srinivas [mailto:[EMAIL PROTECTED]] wrote: > Not really - http://msdn.microsoft.com/library/default.asp?url=""> Okay, I read it, but I don't understand what it means.  "Wrapped" is the default.  And that means, "Parameters sent to and from an XML Web serv

RE: AdminClient not found

2003-07-30 Thread Mike Perham
No, it's not. Navigate to the exact directory path in your classpath and you'll find you are missing the WEB-INF dir. -Original Message- From: Steve Pruitt [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 10:16 AM To: [EMAIL PROTECTED] Subject: AdminClient not found All, Runni

Re: Axis wsdl-generation with

2003-07-30 Thread Jeff Greif
If I understand correctly, you're not doing anything wrong. I believe Axis is only supposed to register the existence and location of this imported file, and to use it if it needs to. Similarly for any client code that reads the wsdl. The human reader has to find it manually and look at it. Jef

RE: wrapped services

2003-07-30 Thread Wendy Smoak
Title: RE: wrapped services Cory wrote: > I'm curious as to what the under-pinnings of a message style service are? Do you mean the code inside the method that ultimately gets called?  I'm currently planning to use JDOM to work directly with the XML. > When the service is described via wsdl

Axis wsdl-generation with

2003-07-30 Thread remko de knikker
Problem/Question: when Axis generates the wsdl for my webservice, whose wsdl contains an it doesn't 'expand'/or import the reference, but merely reprints the import statement. Am I doing something wrong, or is this the (in my opinion, if so, not very practical) preferred method?? I am using an

RE: wrapped services

2003-07-30 Thread Cory Wilkerson
This thread is getting hairy: 1. If Axis is given a doc/lit WSDL (that isn't implemented as wrapped by virtue of anonymous complex types and "parameters" in the message element) and you run wsdl2java on the thing...what will the behavior be. 2. Inversely, if I have a Java class and wan't to e

Re: Calling another Class from within a webservice

2003-07-30 Thread Richard Emberson
I can not give you any definitive answers, only observations. If all class files are located properly in axis/WEB-INF/classes/ when the axis servlet starts, then one should not get an java.lang.reflect.InvocationTargetException. If your application classes are not in the right package path or

RE: wrapped services

2003-07-30 Thread Davanum Srinivas
Not really - http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebservicesprotocolssoapparameterstyleclasstopic.asp -- dims --- Krzysztof Swietlinski <[EMAIL PROTECTED]> wrote: > I think doc/lit is the only mode supported by WS-I > Basic Profile 1.0, so it's n

RE: wrapped services

2003-07-30 Thread Krzysztof Swietlinski
I think doc/lit is the only mode supported by WS-I Basic Profile 1.0, so it's not only MSFT. Also Sun's JAX-RPC 1.1 is doc/lit by default (as opposed to v. 1.0). I think you can use the same doc\lit WSDL to have either one of Document/Wrapped/Message service depending what you want Axis to do for

AdminClient not found

2003-07-30 Thread Steve Pruitt
All, Running... java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient deploy.wsdd I get... Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis/client/AdminClient AXISCLASSPATH is defined... AXISCLASSPATH=C:\jakarta-tomcat-4.1.24\webapps\axis\lib\axis.jar;C:\jak

RE: Do server side handlers really work?

2003-07-30 Thread Yakulis, Ross (Ross)
Thank I found the responseFlow mapping last night, now it gets called on both the request and response. However, I do Not see the SOAP header on the client side. In the code below I should see the header set on ther server side in "h".? CountServiceLocator locator = new CountServiceLocator();

RE: wrapped services

2003-07-30 Thread Cory Wilkerson
Title: RE: wrapped services Wendy,   I'm curious as to what the under-pinnings of a message style service are?  When the service is described via wsdl, surely it's doc/lit?  Else I could be handed an envelope whose contents can't be validated against a given schema.   The default microsoft im

RE: wrapped services

2003-07-30 Thread Wendy Smoak
Title: RE: wrapped services > From what I can gather -- wrapped services are simply a clever hack > to buy me rpc-like functionality via a doc/literal service?  > Seems like a dangerous leg to stand on considering that it's not > standard (regardless of msft defaults ;)) and the interpretat

wrapped services

2003-07-30 Thread Cory Wilkerson
All, >From what I can gather -- wrapped services are simply a clever hack to buy me >rpc-like functionality via a doc/literal service? Seems like a dangerous leg to >stand on considering that it's not standard (regardless of msft defaults ;)) and the >interpretation of what represents a wrappe

RE: AXIS & ANT

2003-07-30 Thread jzhang
Something like this: http://${aws.host}:${aws.port}/ ${aws.context.root}/servlet/AxisServlet"/>

Using BeanSerializer

2003-07-30 Thread David Kocher
Hi, If anyone could give me a quick howto on how to use the org.apache.axis.encoding.ser.BeanSerializer class to marshall a java instane to an xml file I would appreciate. Thanks for any hints - David

WAR archive

2003-07-30 Thread Harsh Nagpal
Can i deploy a webservice inside a war file? If so what all do files do i need? ie. web-service.xml/web.xml/server-deploy.xml ... etc (along with sample content please) harsh

Re: So server side handlers really work?

2003-07-30 Thread chaddad
Ross - the documentation states that SimpleSessionHandler needs to be mapped into both the request and response flows on the server. Because you haven't mapped the handler into the response flow, the doServer code for when context.getPastPivot() == false will never be executed which is critical

RE: AXIS & ANT

2003-07-30 Thread Keith Hatton
Maybe you need instead of as you seem to be passing a complete command line in. Keith -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 30 July 2003 11:32 To: [EMAIL PROTECTED] Subject: AXIS & ANT Hi, I want to deploy the AXIS-Webservice via ANT. Here I hav

deserializer not found

2003-07-30 Thread Kareem Ghazal
Hello, I'm using the IBM's WSDK which uses axis. I figured out how to set the serializer/deserializer on the client by getting hold of the TypeMappingRegistry and then register the serializer/deserializer for the class I want to send, but now I'm getting this exception:SAXException: Deseria

AXIS & ANT

2003-07-30 Thread Juraj . Lenharcik
Hi, I want to deploy the AXIS-Webservice via ANT. Here I have an error: deploy: [echo] running: java org.apache.axis.client.AdminClient -lhttp://localhost:8080/IKWSHandler/ser vices/AdminService conf/deployment/banf-ws-deployment.wsdd [java] Usage: AdminClient [Options] [list | ]

RE: Calling another Class from within a webservice

2003-07-30 Thread Harsh Nagpal
i finally figured out why i was getting that error though i still dont know why! my webservice was under axis/WEB-INF/classes/org/hope/ and my class was under axis/WEB-INF/classes/org/acme/ i redeployed my webservice so that the class and the webservice were under the same directory (and chan

mapping xml instance to axis generated classes

2003-07-30 Thread David Kocher
Hi axis-users, I am trying to map an xml instance document to axis generated classes using castor ( http://castor.exolab.org/ ). I have the problem that autogenerated classes from simple types in the schema definition do not have a default public constructor with no arguments but castor

My own EngineConfiguration implementation

2003-07-30 Thread Tevoi Andrea
Hi all, I've wrote my own EngineConfigurationFactory and EngineConfiguration implementation. Now, how can i plug them into Axis Engine? I've tried with META-INF/services/org.apache.axis.EngineConfigurationFactory as written in EngineConfigurationFactoryFinder, but it seems that doesn't work. Engin

re: When deploy Skeleton, when Implementation

2003-07-30 Thread Stuart Barlow
Were there any answers to this question about the skel and impl classes? I have exactly the same question. Even when using the skeleton the request is still routed to the impl class. So I see no difference in the end result. Ta. Stuart.

Re: How to get the running AxisEngine?

2003-07-30 Thread Frank Schoenau
Help. when i tryed to get the AxisEngine with AxisEngine en = server.getEngine() it doesnt work. I want to deploy an Object, so i have a reference to this Service and cn communicate with my Application. Is there any way to do this and does anyone can give me a example?? > Hi, > > can anybody t