dynamic changing Service name

2003-06-18 Thread Niket Anand
Hello All, I have problem as- We have 2 Applications as App1 and App2 are going to access someservices. So they should be Authenticated only first time and for subsequent request no need.but like samples provied in samples/stocks folder...it seems that for every operation access it need

passing objects by reference in SOAP!

2003-06-18 Thread Agarwal, Naresh
HiA typical SDK is object-oriented and involves passing objects/data byreferences (pointers). This will work as long as the client using the SDK isin the same address space of the SDK. However, if client and SDK (i.e., theservice which provides SDK functions) are in different address

Re: passing xml file as a parameter to a web-service

2003-06-18 Thread Anne Thomas Manes
If you want to pass a full XML file (as opposed to an XML element), you have to pass it as an attachment. The SOAP message is itself an XML file, and XML does not permit you to embed an XML file within an XML file. Normally, the SOAP runtime doesn't manage, manipulate, or validate the

SoapFaultBuilder

2003-06-18 Thread Ian_McIntosh
Hi, I have a web service that deploys fine with Axis running on Tomcat, but when I try to invoke it after successfully deploying it on Oracle 9ias, I get the following error. There seems to be lots of messages on various groups about SOAPFaultBuilder and specifically the methods endElement and

AXIS JROM

2003-06-18 Thread rosely kumoi
hi there, I'm currently experimenting AXIS and JROM. However JROM currently is not being updated which is only suitable for Axis1.0rc, while I'm using AXIS1.1 RC2. One of the problem is in the JROMAxisSerializer, which implementing the AXIS Serializer class. One of the method

RE: passing xml file as a parameter to a web-service

2003-06-18 Thread Shah, Soniya M.
Anuradha, I am passing an xml file as a string argument to my method and that seems to be working. This may not be a good approach if your files are big. Soniya -Original Message- From: Anuradha S To: [EMAIL PROTECTED] Sent: 6/18/2003 12:24 AM Subject: passing xml file as a parameter

RE: passing xml file as a parameter to a web-service

2003-06-18 Thread Ramrakhiani, Vikas
For bigger files you can use byte[] arguments. -vikas. -Original Message- From: Shah, Soniya M. [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 4:47 PM To: '[EMAIL PROTECTED]' Subject: RE: passing xml file as a parameter to a web-service Anuradha, I am passing an xml file

RE: passing xml file as a parameter to a web-service

2003-06-18 Thread Tony Opatha
Does AXIS and SOAP w/Attachments allow passing in the XML file by reference i.e. a URI that points to the physical location of the said XML instance. Obviously, size should matter when we talk about "attacments" in a web service invocation. Also, how does AXIS deal with the processing of an

How set the encoding style to wrapped?

2003-06-18 Thread Tagliarini, Raoul
Dear all, Do you know how to set directly the encoding style of a call to wrapped? I hope it can solve my problem, because my client cannot found a serializer for a class retuned within an object of another class. Help me!! Best regards, Raoul

AXIS .jws not recognizing classpath ?

2003-06-18 Thread Jeffrey Hood
I have in the past put my property files in WEB-INF/classes under tomcat, which is on the classpath... and loaded them with InputStream is = getClass().getResourceAsStream(/propertyfile.prop); This doesn't seem to work with axis, and I have tried moving them everywhere... for now I have the

Re: Newbie: where do you put your service's web.xml?

2003-06-18 Thread Ingrid Falk
Michael == Michael Woinoski [EMAIL PROTECTED] writes: Michael (This seems like a very basic question, but I can't find Michael the answer in the docs or mailing list archives.) This is covered in the axis installation guide by: Advanced Installation: adding Axis to your own Webapp

dynamic changing Service name

2003-06-18 Thread Niket Anand
Hello All, I have problem as- We have 2 Applications as App1 and App2 are going to access someservices. So they should be Authenticated only first time and for subsequent request no need.but like samples provied in samples/stocks folder...it seems that for every operation access it

Authentication

2003-06-18 Thread Lanigan, Ronan
Hi, I want to perform some Authentication for my Web Service. I have a list of machine names e.g. devmachine.xxx.com and I only want to service requests that come from these machines. We are using a list of machine names as the ip's for these machines can change. So, I need some mechanism

Re: Authentication

2003-06-18 Thread Benjamin Tomasini
Consider enforcing that in your servlet container or web server. Ben On Wed, 2003-06-18 at 09:09, Lanigan, Ronan wrote: Hi, I want to perform some Authentication for my Web Service. I have a list of machine names e.g. devmachine.xxx.com and I only want to service requests that come from

RE: The OperationDesc for sendSms was not syncronized

2003-06-18 Thread Sochea Meas (LMC)
Thanks! Hope it's gonna work! :-) - Sochea MEAS LMC/JG/A department Ericsson Communication Canada telephone: 514-345-7900 ext. 3432 email: [EMAIL PROTECTED] -Original Message- From: James Black [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 3:59 PM To: [EMAIL PROTECTED]

RE: Authentication

2003-06-18 Thread Leo de Blaauw
Or rather in your firewall if you have one... Greetz Leo -Oorspronkelijk bericht- Van: Benjamin Tomasini [mailto:[EMAIL PROTECTED] Verzonden: woensdag, juni 2003 15:18 Aan: [EMAIL PROTECTED] Onderwerp: Re: Authentication Consider enforcing that in your servlet container or web server.

RE: Authentication

2003-06-18 Thread Benjamin Tomasini
Not all firewalls can inspect the application request and block a specific path, a web server / container can. So if you need to block out the whole host, go for the firewall. If it is a specific path, then consider the web server. BTW, IP addresses can be spoofed. It is good to use that in

Extend the class Date

2003-06-18 Thread Slimane Amar
I am using the Axis 1.1 and i have a complex type which is derived from Date. When i use java2WSDL to generate the wsdl file, i have got this error : - The class myClass extends non-bean class java.util.Date : An xml schema anyType will be used Is there a solution to do this. Thanks

Distinction between rpc/literal and wrapped doc/literal

2003-06-18 Thread Viens, Steve
Title: Distinction between rpc/literal and wrapped doc/literal A colleague raised the question What's the difference between rpc/literal and wrapped doc/literal? ... and I'm having some difficulty coming up with an answer. Are these the same? Steve

Re: Extend the class Date

2003-06-18 Thread James Black
Slimane Amar wrote: I am using the Axis 1.1 and i have a complex type which is derived from Date. When i use java2WSDL to generate the wsdl file, i have got this error : - The class myClass extends non-bean class java.util.Date : An xml schema anyType will be used Is there a solution to do

RE: Distinction between rpc/literal and wrapped doc/literal

2003-06-18 Thread Jim Murphy
Nope, they are different but don't feel too bad for not being able to succinctly describe the difference - I'm not sure how clear this will be but here goes... :-) BTW, Yasser Shohoud has an article on MSDN that describes RPC/Literal in a little detail[1]. Also, Anne has gone over this before

Re: Extend the class Date

2003-06-18 Thread Slimane Amar
I have got the same error with Calendar. -- Debut du message initial --- De : James Black [EMAIL PROTECTED] A : [EMAIL PROTECTED] Copies : Date : Wed, 18 Jun 2003 10:21:18 -0400 Sujet : Re: Extend the class Date Slimane Amar wrote: I am using the Axis 1.1 and i

Re: Distinction between rpc/literal and wrapped doc/literal

2003-06-18 Thread Mitch Gitman
No, theyre not the same. In a WSDL document, theres an element soapbind:binding (soapbind also called wsdlsoap or soap). Its at: /wsdl:definitions/wsdl:binding/soapbind:binding This element has a style attribute where for RPC the value is rpc and for document (or wrapped) the value is document.

Re: WSDD documentation

2003-06-18 Thread Michael Woinoski
I haven't found a schema for the wsdd file yet, but here's one that works for me: deployment xmlns=http://xml.apache.org/axis/wsdd/; xmlns:java=http://xml.apache.org/axis/wsdd/providers/java; service name=StringOpsService provider=java:RPC parameter name=className

Re: Extend the class Date

2003-06-18 Thread James Black
Slimane Amar wrote: I have got the same error with Calendar. There should be a mapping for java.util.Calendar to an xml schema, actually. Can you paste your method from the interface and the error? Also, have you ensured that java2wsdl is calling the new version? If you have a prior

dynamic changing Service name

2003-06-18 Thread Niket Anand
Hello All, I have problem as- We have 2 Applications as App1 and App2 are going to access someservices. So they should be Authenticated only first time and for subsequent request no need.but like samples provied in samples/stocks folder...it seems that for every

Re: Extend the class Date

2003-06-18 Thread Kevin . Bedell
java2wsdl generally observes the following mappings: java.util.Calendar -- xsd:dateTime java.util.Date -- xsd:dateTime If you're not seeing this then there's likely something wrong -- like maybe an old jar file laying around on your classpath. or a problem with how you are executing

Re: Authentication

2003-06-18 Thread Tony Opatha
Why not use with AXIS SOAP Message Handler the WS-Security Password-based Authentication mechanism and/or WS-Security with SAML Assertion. Are there any plans to support WS-Security for AXIS SOAP Message exchanges either by Apache/AXIS or by IBM? Benjamin Tomasini [EMAIL PROTECTED] wrote:

Handling complex response type

2003-06-18 Thread michael_sobczak
Hi, Through the help of the axis-user mailing list, I've been able to create a Java client that invokes the Unisys Weather web service and returns the weather. (I've included a link below.) The method I'm calling, GetWeatherText, returns all of the weather details, including at ten-day

Problem where Java2WSDL\WSDL2Java converts Dates to Java.util.Calendar

2003-06-18 Thread Reynardine
Hello, A fairly newbie question. To deploy a service I've run Java2WSDL and then WSDL2Java on my implementation class. One method in this class has these parameters: public double getAccruedCoupon( Date mSettlementDate, Date mLastCouponDate, double

Re: Handling complex response type

2003-06-18 Thread Reynardine
Michael, you might try something like... java.lang.String xmlString = getWeather(); SAXParserFactory spf = SAXParserFactory.newInstance(); spf.setNamespaceAware(true); spf.setValidating(dtdValidate || xsdValidate); SAXParser saxParser = spf.newSAXParser(); XMLReader xmlReader =

Re: Problem where Java2WSDL\WSDL2Java converts Dates to Java.util.Calendar

2003-06-18 Thread James Black
Reynardine wrote: The problem is that when I go in and edit the automatically generated SoapBindingImpl.java, I find that axis has changed the dates to Calendars i.e. Date is mapped to Calender, I believe that is according to a specification. So, using the date class would be a bad idea,

Anonymous Types

2003-06-18 Thread John Chen
I'm using wsdl.toJava.Emitter.run(string url) to generate server side stubs/impl from a WSDL with Anonymous Types (A complex type only defined within another complex type). Then I use the same stubs/impls and host them on a Tomcat Server. When I try to get the Axis generated WSDL, it throws

Re: Handling complex response type

2003-06-18 Thread michael_sobczak
Hi Rey, Unfortunately, I get this error when I try to cast the web service response to a String: org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize. at

Re: WSDD documentation

2003-06-18 Thread Michael Woinoski
There is an overview of the wsdd file contents at AXIS_HOME/docs/reference.html#Deployment. Mike -- Mike Woinoski Pine Needle Consulting mailto:[EMAIL PROTECTED]

OT Problem Domain question

2003-06-18 Thread Jim Collins
Hi, I was wondering if Web Services would be applicable for the following problem. I have a number of clients that receive an XML datafeed. This datafeed can change due to various circumstances and I would like all the clients to be notified of any change. Would it be possible for a Web Service

Re: Handling complex response type

2003-06-18 Thread Reynardine
Michael, Then maybe you could use SOAPenvelope instead to catch the return from your call.invoke e.g. InputStream output = new ByteArrayInputStream(""); Service service = new Service(); Call call = (Call) service.createCall(); SOAPEnvelope env = new SOAPEnvelope(output); env = call.invoke( (

Re: OT Problem Domain question

2003-06-18 Thread ian_d_stewart
Seems like a web service would be overkill for this sort of thing. What I would do is provide a server-side process that generates and distributes the e-mail (perl works quite nicely), then call this process whenever the datafeed changes. HTH, Ian Ian D. Stewart Open Systems Engineer II

Re: OT Problem Domain question

2003-06-18 Thread James Black
Jim Collins wrote: I have a number of clients that receive an XML datafeed. This datafeed can change due to various circumstances and I would like all the clients to be notified of any change. Would it be possible for a Web Service to notify all clients of a change or would the clients need to

RE: OT Problem Domain question

2003-06-18 Thread Jim Poulsen
The most efficient way, if you have access to a MOM, is to hook them all up to a topic in JMS -Original Message- From: James Black [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 3:27 PM To: [EMAIL PROTECTED] Subject: Re: OT Problem Domain question Jim Collins wrote: I have a

Re: OT Problem Domain question

2003-06-18 Thread Aaron . Knauf
Why not just include a version number with the XML feed? Your clients will know it has changed if the version number increments. If you can't change the XML schema itself, then the version number could go in a SOAP header, or any number of other places. ADK

RE: OT Problem Domain question

2003-06-18 Thread Jim Poulsen
good suggestion. you could even dynamically keep the schema up to date and publish it for your clients at a well known URL. Or include a dynamic URL reference to it in the SOAP message. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003

Re: OT Problem Domain question

2003-06-18 Thread James Black
Jim Poulsen wrote: good suggestion. you could even dynamically keep the schema up to date and publish it for your clients at a well known URL. Or include a dynamic URL reference to it in the SOAP message. I wish I had thought of the simple idea of including a version number. g That may be

import namespace

2003-06-18 Thread Ben
The following two lines are expected in the Axis generated .wsdl file for the weblogic client. MS Soap toolkit also generating the wsdl with these lines. What is that, I am missing in Axis? import namespace=urn:ServiceName/ import

Re: OT Problem Domain question

2003-06-18 Thread Jim Collins
At the moment the application is written using a publish and subscribe mechanisim where the clients subscribe to a message and if anything changes the server publishes the new data. I would like to move away from this solution if possible. Regards Jim. - Original Message - From: Jim

Re: OT Problem Domain question

2003-06-18 Thread Jim Collins
Hi Ian, Thanks for the feedback. Sending emails to clients does not seem a particularly elegant solution :). At the moment the client applications display the data in a table. A user can make a change to this and hit a submit button, when this happens the server is notified and then sends a

Re: OT Problem Domain question

2003-06-18 Thread Jim Collins
Aaron, Would the clients need to poll the server though to see if the xml version number had changed? I want to avoid having the clients poll a server. Regards Jim. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 9:29 PM Subject: Re: OT

Re: OT Problem Domain question

2003-06-18 Thread Benjamin Tomasini
Then you will have to embed a server in your clients. I would just poll the web service at regular intervals. BTW, what about a simple RSS feed? Ben On Wed, 2003-06-18 at 16:54, Jim Collins wrote: Hi Ian, Thanks for the feedback. Sending emails to clients does not seem a particularly

Re: OT Problem Domain question

2003-06-18 Thread Jim Collins
I don't really like the idea of having lots of clients poll a server. At the moment I am just kicking a few ideas around how to best solve this and if Web Services is not suited to this type of problem will look at something else (probably RMI based). Regards Jim. - Original Message -

Re: OT Problem Domain question

2003-06-18 Thread Benjamin Tomasini
Have you looked into Jabber? On Wed, 2003-06-18 at 17:08, Jim Collins wrote: I don't really like the idea of having lots of clients poll a server. At the moment I am just kicking a few ideas around how to best solve this and if Web Services is not suited to this type of problem will look at

RE: OT Problem Domain question

2003-06-18 Thread George Jagodzinski
Flash Communication server handles this situation very well. It's use of shared objects and data providers make accomplishing this sort of thing easy. And if you can use flash as the presentation layer of your app it may be a really good option. if not it is at least worth a look. --George

Conceptual Question

2003-06-18 Thread Chris
I notice that in my code, my stub class and my impl class are generated on a per-binding basis. For each binding, I get one stub and one impl. I only have one binding so far but I'm using the class names to guess at the relationship, which seems safe. Now, this makes perfect sense for the stubs

Development with Message style

2003-06-18 Thread Yuriy Zubarev
Hello everyone, I'm developing a SOAP service using Message style (the XML schema has been imposed on me, so Soap Body must be of certain format) and I have the following method in my service class: public Document processOrder(Document request) { ... } The main problem is that based on some

Re: OT Problem Domain question

2003-06-18 Thread Jim Collins
I have not heard of Jabber but I will have a look. Regards Jim. - Original Message - From: Benjamin Tomasini [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 11:13 PM Subject: Re: OT Problem Domain question Have you looked into Jabber? On Wed, 2003-06-18 at

Re: OT Problem Domain question

2003-06-18 Thread Jim Collins
Thanks George, I will have a look. Regards Jim. - Original Message - From: George Jagodzinski [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 11:22 PM Subject: RE: OT Problem Domain question Flash Communication server handles this situation very well. It's use