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
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
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
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
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
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
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
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
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
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
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
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
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
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
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]
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.
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
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
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
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
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
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
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.
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
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
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
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
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:
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
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
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 =
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,
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
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
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]
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
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( (
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
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
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
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
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
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
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
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
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
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
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
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 -
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
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
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
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
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
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
55 matches
Mail list logo