Hi Venkat & All,
If I dont register any response handler then I am getting below
AxisFault from the service :
[java] org.xml.sax.SAXParseException: Unexpected end of file after null
[java] at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
[java] at org.apache.axis.SOAPPart.
Hi Guys,
Are you able to successfully use TCPMonitor or the SOAPMonitor to
monitor remote web service ?
- Kumar.
Leslie,
One recommendation: Don't try to expose a Vector (or any other
collection type) through your interface. Convert your Vector into an
array, and it will work a lot better. .NET will have a problem dealing
with all the ArrayOf_xsd_anyType types you have.
Axis automatically generates a bunch
Found the solution:
You must put the following line before you invoke the call:
System.setProperty("axis.socketSecureFactory",
"org.apache.axis.components.net.SunFakeTrustSocketFactory");
Paul
Hi there,
I am trying to connect to an endpoint which is https and I get the
following error:
Axis
Hello,
I'am using wsdl2java to generate client classes for my service.
wsdl2java generate a ServiceLocator.java class which
contains direct references to my service endpoint (something like
http://server.mydomain.com/axis/MyService).
I want to specify in my client only the WSDL url. The service l
Linus,
Try changing your apachesoap:Element type to xsd:anyType, and then
define a mapping for anyType to a DOM Element.
Anne
On 7/14/05, Linus Kamb <[EMAIL PROTECTED]> wrote:
> I get the exception dump below when trying to return an array of
> org.w3c.dom.Elements. The XML is fine. The method
Abdullah,
If any of your existing classes expose collection types, you'll
experience interoperability issues if you try to expose them directly.
In general, it's risky to try to directly expose Java classes as web
services. Web services should expose only simply types, structures of
simple types,
John,
The empty namespace on the child element of the SOAP Body is caused by
the fact that the WSDL specifies "rpc" style in the
definition, but it doesn't specify a namespace attribute in the
definitions. (When using RPC style, you must specify a
namespace attribute in .)
I'm really astonished
inherits its style from . If you don't
specify a style, it defaults to "document". The only two valid values
for WSDL style are "document" and "rpc". "wrapped" style is only used
in the WSDD -- never in WSDL.
>From the WSDL perspective, "wrapped" is a programming convention, not
a style. In order
This is a known problem in .NET. It doesn't support nulls in a number
of different types. Rather than sending a null (nillable="true") you
have to simply not send the element (nillable="false" minOccurs="0").
Anne
On 7/14/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> I am trying to co
You don't have an element called "response" defined in your output schema.
Anne
On 7/13/05, Angelo Immediata <[EMAIL PROTECTED]> wrote:
> Hi all; i have this wsdl file:
>
>
> name="webServ"
> targetNamespace="http://eng.it";
> xmlns:impl="http://eng.it";
> xmlns:intf="http://e
.NET has a problem consuming soapencoding:string types.
Change this:
To this:
Anne
On 7/13/05, Gary Zhu <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I deployed a WS on AXIS and was able to consume it through AXIS client.
> However, .NET client seems to be havi
Gary,
had the same problem in the past, you could check at
http://mail-archives.apache.org/mod_mbox/ws-axis-user/200503.mbox/thread
s.html
the thread "is it possible to change soapenc:string to xsd:string in
generated WSDL?"
cu
Merten
> -Original Message-
> From: Anne Thomas Manes [ma
Title: MTOM Support in Axis?
Greetings,
I am curious to find out what the timeline for MTOM support is for Axis.
Especially given that Sun and Microsoft demo'd MTOM InterOp between their Web service toolkits at JavaOne recently.
Regards,
- Anil
theres some initial code in Axis2.
-- dims
On 7/19/05, John, Anil <[EMAIL PROTECTED]> wrote:
>
>
> Greetings,
>
> I am curious to find out what the timeline for MTOM support is for Axis.
>
> Especially given that Sun and Microsoft demo'd MTOM InterOp between their
> Web service toolkits a
Before you get too excited about that so-called "interop". see these :)
- http://www.bloglines.com/blog/Thilina?id=11
- http://blogs.cocoondev.org/dims/archives/003279.html
- http://blogs.cocoondev.org/dims/archives/003213.html
-- dims
On 7/19/05, John, Anil <[EMAIL PROTECTED]> wrote:
>
>
> G
Hi Mathieu,
On Tue, 2005-07-19 at 15:39 +0200, Mathieu Larchet wrote:
> Hello,
>
> I'am using wsdl2java to generate client classes for my service.
> wsdl2java generate a ServiceLocator.java class which
> contains direct references to my service endpoint (something like
> http://server.mydomain.co
- Unable to find required classes (javax.activation.DataHandler and
javax.mail.internet.MimeMultipart). Attachment support is disabled.
Hi,
I'm having trouble getting the axis server to recognize the
javax.activation.jar and getting the above error when deploying my service.
I want to stream
>so-called "InterOp".
It worked as an initial demonstration of capability. At a high level I
am excited about the fact that there is now a vendor supported standard.
As an implementer of technology who has to deal with the headaches of
InterOp, I care very much about implementations of standards i
Hi Everyone,
I have implements a web services client using AXIS. I am trying to
make a jar file with all the jars and classes needed to run the
client. When I run the jar it throws the following exception
C:\Program Files\Java\jdk1.5.0\bin>java -jar API.jar
Exception in thread "main" java.lang.No
Hello all,
I am new to Axis and I am trying to use it to expose the Stateless
Session EJBs in our application as webservices on Weblogic 8.1sp4.
So, I bundled up axis and it's libraries as "axis.war" and included this
in our application "myapp.ear" and deployed it on Weblogic.
Now, I can s
Hi,
> - Unable to find required classes (javax.activation.DataHandler and
> javax.mail.internet.MimeMultipart). Attachment support is disabled.
Additionally to the activation.jar, you'll need the mailapi.jar from
java's mail api. This library is located somewhere on suns website.
Best regards
I currently have the soap address hard coded in my wsdl:
http://pmtdev:6060/soapd"/>
So I want to externalize this setting, but still run wsdl2java each build.
How can I do this? What is the best practice.
Thank You
Mick Knutson
Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F
If you are adding Axis as a separate webapp, try adding your util jar to its
manifest file.
You can also add Axis servlet to your web application as opposed to having a
separate one.
Jai
-Original Message-
From: Krishnan Kannan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 19, 2005 12:2
Hi,
I am using Axis 1.2.1 Final and I am building a
service using JMS transport. My messages have a soap
header and body. In the header is a field that
specifies which service is being invoked. I parse this
header in a handler and then set the target service.
For some reason, if the header is des
Where can i find a jar with: org.apache.crimson.tree.XmlDocument? I thought
Apache Crimson was
replaced by Xerces a while back?
That Class is used in:
org.apache.axis2.wsdl.codegen.emitter.MultiLanguageClientEmitter
__
Do You Yahoo!?
Tired of spa
I'm using a ServiceLocator to get an instance of my Stub class capable
of interacting with my remote service. That is,
MyServiceIF client = MyServiceServiceLocator.getMyService(serviceUrl);
Then I use the client object (a subclass of org.apache.axis.client.Stub)
to make calls to my service.
The definition is valid according to soap and wsdl specifications. I saw
many posts with this ArrayOfArrayOfStrings data type. But there were no
solutions posted anywhere. The problem is to extract the array in the
response in below format.
http://www.w3.org/2001/XMLSchema-instance";
xmlns:soape
Hi,
I've noticed that Axis-generated classes don't have a private static
final long serialVersionUID member. This isn't an error, but Eclipse
reports it with a compile warning. I've researched a little and found
out that having this member is not required, but is highly recommended
to ensure int
It's not a problem we need to worry about, Dan because XML decouples
different systems.
When a serialVersionUID is not provided for a class, the Java subsystem
generates one based upon the class content. Hence, when the content changes,
e.g. by adding a field, the auto-generated serialVersionUID c
you can tell eclipse to ignore that warning in
preferences->java->compiler->Errors/Warnings->Potential Programming
Problems.
If you don't want to ignore, then you'll have to hit "quick fix" like
crazy on your problems list :D
On 7/19/05, Kador, Daniel <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've no
You have classpath issues. You must explicitly name all the jars in
your classpath declaration (having them in the same directory isn't
enough) in the command line (java -classpath ...) or set the classpath
env variable before running java -jar.
A better idea would be to create a shell script (.ba
Hi,
Just installed axis and all sw needed to make it 'happy'. In working
through the User Guide, cannot get any of the userguide samples to work.
Always get 'WARN Please initialize the log4j system properly' and then
some other error. Don't have a clue as to what is required; assumed
that follow
Hello Dave,
To resolve the log4j initialization error you have to specify a
configuration file for log4j. You can do that by passing in a Java
property on the java command line as :
java -Dlog4j.configuration=myconfig.xml my.package.name.myclass
The myconfig.xml is configuration file with y
I had the same problem and I'm trying to remember how I fixed it. I do
remember having a jre installed under c:\Program Files and maybe there
was a problem with directory names having spaces in them. I reinstalled
my jdk in c:, rechecked my classpaths, and then it worked. I thought I
had to move
we've fixed this in latest SVN. you won't need crimson.
-- dims
On 7/19/05, Nathaniel G. Auvil <[EMAIL PROTECTED]> wrote:
> Where can i find a jar with: org.apache.crimson.tree.XmlDocument? I thought
> Apache Crimson was
> replaced by Xerces a while back?
>
> That Class is used in:
> org.apac
You might want to create a custom provider...
On 7/19/05, Anand Ganapathy <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am using Axis 1.2.1 Final and I am building a
> service using JMS transport. My messages have a soap
> header and body. In the header is a field that
> specifies which service is being
This worked. Although I have to invoke the service the "old-fashioned" way, using Service
and Call.invoke() as opposed to using the generated *ServiceLocator and
*ServiceSoapBindingStub classes so I can set the register the type mapping. Maybe there
is a way set the client side type mapping
One problem that I see is that your response messages all include two
elements of different type with the same QName. Number 1 -- that's a
really bad practice, and Number 2, I suspect .NET can't handle it.
For example, you have:
I suggest you change
You specify the client-side type mapping using a client.config file.
Anne
On 7/19/05, Linus Kamb <[EMAIL PROTECTED]> wrote:
>
> This worked. Although I have to invoke the service the "old-fashioned" way,
> using Service
> and Call.invoke() as opposed to using the generated *ServiceLocator and
Per the SOAP spec (and clarified in the WS-I Basic Profile), the SOAP
processor is supposed to determine how to process an incoming request
based on the "signature" of the incoming message. The "signature" is
defined as the QName of the child element of the SOAP Body. The WS-I
Basic Profile defines
You must pass a JavaBean that has one member, which is a string. If
you run wsdl2java on your WSDL file, it should generate this JavaBean
for you.
This service is defined as an unwrapped document/literal service (the
input message element does not have the same name as the operation),
therefore Ax
Can you post the WSDL file?
On 7/13/05, Antonio Capurso <[EMAIL PROTECTED]> wrote:
> Hi to all,
> I'm facing with a problem using a web service (that is a deployed Bpel
> process).
>
> The expected input for my web service is the following:
>
> http://www.w3.org/..."; name="payload">
> http:
Stick with Axis 1.2 until we at least have a beta release for Axis 2.
On 7/13/05, vicky axis <[EMAIL PROTECTED]> wrote:
> I have a set of existing web-services which take in strings as arguments and
> return strings back to the client... In AXIS 2, i have come across examples
> codes which accept
Patrick,
I haven't looked at this in detail, but I notice that the
targetNamespace in your WSDL ("http://namespace.accenture.com/";)
doesn't match your WSDL targetNamespace in your WSDD
("urn:ProvidentProvisioningTNS"). I have no idea if this might be
causing your error in BizTalk, but who knows.
Quite possibly. What version of Axis are you using? We had a lot of
bugs dealing with arrays.
Anne
On 7/11/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Anne,
>
> Thanks for your advice. Can you tell me what is causing the extra testArray
> wrapper? It's not clear to me how Axis is
Convert the XML to a string and then return the string.
On 7/11/05, Mayur Shetye <[EMAIL PROTECTED]> wrote:
> Is there any api / api-call I can use to do the same ?
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 11, 2005 11:53 AM
> To: axis
Per the OASIS WS-Security 2004 spec, the value of the "Type" field
must be a URI, not a QName. This is one of the changes that occurred
between older versions of WS-Security and the final OASIS standards.
If you want to be spec-compliant, you must use
http://docs.oasis-open.org/wss/2004/01/oasis-20
Use document style and define the element types in your WSDL.
(If you don't define the types, it defaults to xsd:anyType, and then
Axis must specify the type in the message.)
Anne
On 7/11/05, John Baker <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Consider this XML fragment from an Axis client request:
If you're using RPC style, then you can add this parameter to your WSDD:
Anne
On 7/19/05, Anne Thomas Manes <[EMAIL PROTECTED]> wrote:
> Use document style and define the element types in your WSDL.
> (If you don't define the types, it defaults to xsd:anyType, and then
> Axis must specify the t
Hello!
I am producing a web
service using Sun's stack included with NetBeans 4.1, which needs to be
consumed by a ColdFusion client (which uses Axis).
As long as the types returned by the web service are basic, I have no problems.
However if the types returned are complex, the WSDL pro
AFAICT, you shouldn't see the extra Array wrapper with latest Axis CVS.
- venkat
On 7/12/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Anne,
>
> Thanks for your advice. Can you tell me what is causing the extra testArray
> wrapper? It's not clear to me how Axis is generating the ex
Hi,
I am able to access the parameters defined in axis2.xml
value
through the axis engine config...
axis.getParameter("name");
I need to refer to some parameters (say name) through my handlers for logging purpose... how am i supposed to do this, handler level parameter declaration and referra
Martin Grotzke wrote:
Hi Mathieu,
On Tue, 2005-07-19 at 15:39 +0200, Mathieu Larchet wrote:
Hello,
I'am using wsdl2java to generate client classes for my service.
wsdl2java generate a ServiceLocator.java class which
contains direct references to my service endpoint (something lik
Hi Vacky;
You can add parameters to handlers in the same way
, the following code snippet will help you do that
org.apache.axis2.echo.Echo
Thanks, Deepal~Future
is Open~
- Original M
Deepal , This might seem preety lenghty
Thanks for your Reply
My Module.xml
981771771 &nb
sp;
981771771 981771771 &
nbsp
56 matches
Mail list logo