I am not sure there is much axis framework can help you with this ,
probably you will have to write custom servlet filter(assuming http) and
modify the request to set the mandatory fields in xml (just an idea )
Ramkumar Menon wrote:
Resending - Please let me know how to disable schema
Resending - Please let me know how to disable schema validation for axis 1.4.
ram
On 1/14/08, Ramkumar Menon [EMAIL PROTECTED] wrote:
Hi Gurus,
I am struggling with a specific issue described below in brief.
I have a doc/literal Web Service that accepts a Customer element in
its request
To: axis-user@ws.apache.org
Subject: RE: Urgent
Hi Sietse,
I red the article of the first link and I noticed he is using a class
called IBMSOAPFactory to create element from XML string.I tried to try
this example but failed to find the jar file for this class.Do you know
where I can find
there were some links in
the article and maybe google can help you.
Regards,
Sietse
From: M.Khaled [mailto:[EMAIL PROTECTED]
Sent: 21 November 2007 21:29
To: axis-user@ws.apache.org
Subject: RE: Urgent
Hi Sietse,
I red the article of the first link and I
If it is something very urgent, the easiest way is to base 64 encode the
XML and pass the encoded string which is guaranteed to have no special
characters.
For example (server-side):
import org.apache.xerces.impl.dv.util.Base64;
...
//send this
I'm trying to understand the question.
Do you want the XML to be encoded (as a string) or do you want it to be sent
as real XML.
Why do you want it encoded as a string?
Paul
On Nov 21, 2007 9:41 AM, M.Khaled [EMAIL PROTECTED] wrote:
Hi,
I sent a question to the mailing list and got no
First of all Thanks a lot for your quick response.Second I just want to tell
you how the scenario going in here:
(1)I am just working in the client side (meaning I just created the client by
axis WSDL2JAVA command by passing the WSDL file to it).
(2)And I have to set ant attribute value
Mohamed
The server is expecting it in XML form not string form.
Can you please post the WSDL. Also please explain how you are creating the
XML that you are sending.
Paul
On Nov 21, 2007 10:41 AM, M.Khaled [EMAIL PROTECTED] wrote:
First of all Thanks a lot for your quick response.Second I
Hi Paul,
-This mail contains attached WSDL file which I used to create the client by
axis.
-And About the way I am creating the XML that I am sending it's similar to
the foolowing:
class Main{
String xml=myElementABtext/B/A/myElement;
Request req=new Request();
Mohamed
Now I'm confused. The WSDL defines a string. That says that the server is
expecting a string. So if that string is going to an XML, then it *should*
be encoded, because the datatype of the element is string not xml.
If the server was expecting un-encoded XML then the WSDL should say:
Paul
You think the server should decode the received string before parsing it, to
reconvert the special charcters like 'lt; and gt; to '' and ''?
Mohamed
Paul Fremantle [EMAIL PROTECTED] wrote:
Mohamed
Now I'm confused. The WSDL defines a string. That says that the server
From: M.Khaled [mailto:[EMAIL PROTECTED]
Sent: 21 November 2007 12:52
To: axis-user@ws.apache.org
Subject: Re: Urgent
Paul
You think the server should decode the received string before parsing
it, to reconvert the special charcters like 'lt; and gt; to '' and
''?
Mohamed
. This enforces the client to use the well specified description
and gives less possibility for an own interpretation.
Just my 2 cents.
Regards,
Sietse
From: M.Khaled [mailto:[EMAIL PROTECTED]
Sent: 21 November 2007 12:52
To: axis-user@ws.apache.org
Subject: Re: Urgent
The server should give the service method the string - as a java.lang.String.
There should be no XML parsing of it.
Paul
On Nov 21, 2007 12:52 PM, M.Khaled [EMAIL PROTECTED] wrote:
Paul
You think the server should decode the received string before parsing it,
to reconvert the special
!
Sietse
From: M.Khaled [mailto:[EMAIL PROTECTED]
Sent: 21 November 2007 13:28
To: axis-user@ws.apache.org
Subject: RE: Urgent
Hi Sietse,
I am new to web service.So I am asking how can I adjust the wsdl file
as you adviced me?
Thanks,
Mohamed
[EMAIL
of the service. The articles are pointing that out
with good examples imho!
Sietse
From: M.Khaled [mailto:[EMAIL PROTECTED]
Sent: 21 November 2007 13:28
To: axis-user@ws.apache.org
Subject: RE: Urgent
Hi Sietse,
I am new to web service.So I am asking how can I adjust
Hi Subra,
On Nov 6, 2007 10:57 PM, Subra A Narayanan [EMAIL PROTECTED] wrote:
Hello Samisa,
Do you have any updates on this issue? Do you have an approximate time frame
when this issue would be fixed in the framework? Is this feature under
development?
I have looked into this and proposed a
Subra A Narayanan wrote:
thanks samisa.
where would i store such a flag? service group context like in the
add.c example from sg_math service?
Nop, if you do that, I think you will get the same problem again.
I think you may have to use a database to do that. Savan module, the
WS-Eventing
Subra A Narayanan wrote:
Hello everyone,
I have run in to an issue which I can't seem to figure out. In my init
method in the service skeleton I call the initialization routine of
one of the libraries that my web service uses. I notice in my logs
that the library initialization function is
in the right direction here, am I
missing something? I've googled extensively, searched the list archives etc,
but couldn't find much of help. Thanks for any help! John
Subject: RE: Urgent - Exception Mapping with Axis2 Date: Wed, 26 Sep 2007
16:34:34 +0200 From: [EMAIL PROTECTED
just to correct: AxisFault.getDetail is not empty, it is null.
-Original Message-
From: Jay Zawar
Sent: mercredi 26 septembre 2007 16:32
To: axis-user@ws.apache.org
Subject: Urgent - Exception Mapping with Axis2
Hi people,
I am really puzzled about Axis Code generators and
Hi Prakash,
If you are asking for changing the defaut code which AXIS generates then for
AXIS2 this is simple. Since the code generation logic is stored in the XSL
files which are present in the axis jars.
If you change the template then you should be able to achieve your goal
(however again
there is not direct way to do that.
1. either do the above method
2. or Change the ConverterUtil class in adb module to serialize the date in
the way you need it.
On 8/23/07, Nilesh Ghorpade [EMAIL PROTECTED] wrote:
Hi Prakash,
If you are asking for changing the defaut code which AXIS
I know .NET is using WSE with DIME, do you know if Axis2 support DIME?
Thanks
John
-Original Message-
From: Deepal jayasinghe [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 21, 2007 1:28 AM
To: axis-user@ws.apache.org
Subject: Re: urgent help on interop with SOAP over TCP on .Net
Hi
Does anybody know how I can download addressing.jar for Axis1.2 or
later?
Thanks
John
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
: Tuesday, August 21, 2007 1:28 AM
To: axis-user@ws.apache.org
Subject: Re: urgent help on interop with SOAP over TCP on .Net
Hi Chen, ,
I think you are talking about Axis2 TCP support ?
First you can download Axis2 1.3 release from [1] , then you can use
Axis2's TCP transport support for invoking
Hi,
Do you want to monitor the SOAP messages?if so, try and use TCPmon
[http://ws.apache.org/commons/tcpmon/].if I got you wrong, please
specify what you want to do by receiving it.
Thanks and regards,
Pushkar
Chen, John (N-Avatar Inc.) wrote:
I have a .Net program sending SOAP
PROTECTED]
Sent: Monday, August 20, 2007 1:42 PM
To: axis-user@ws.apache.org
Subject: Re: urgent help on interop with SOAP over TCP on .Net
Hi,
Do you want to monitor the SOAP messages?if so, try and use TCPmon
[http://ws.apache.org/commons/tcpmon/].if I got you wrong, please
specify what
Hi Chen, ,
I think you are talking about Axis2 TCP support ?
First you can download Axis2 1.3 release from [1] , then you can use
Axis2's TCP transport support for invoking the service using TCP transport.
To use TCP in the client side you have to set the correct EPR like :
tcp://127.0.0.1:8080/
I found a solution for this problem. There was Null Response in C# Client
because of
two reaasons.
1. In the client proxy(C#), Reference.cs file has UnQualified attribute
instead of Qualified for Serialization.XmlAttributeAttribute
Hi,
Still we are looking for some help regarding the below mentioned issue. It
was
like spending time without expected results.
I really appreciate any kind of help regarding the same.
Thanks,
Srini
Srinivasa Rao K [EMAIL PROTECTED] wrote:
Hello Everybody,
We
if you start from the begining please try Axis2 as well. Axis2 does not
support rpc/encoding but it fully support the rpc/lit and doc/lit styles.
I could successfully invoke .Net services using Axis2 client (with ADB). So
it should work in the other way round as well. if is there any problem I
I also found the generated code didn't work since it
tried to unmarshall the SOAP document to the just
generated exception class (an inner class in the stub
class). There is nowhere that the binding defined for
the exception class.
John
--- Z Chen [EMAIL PROTECTED] wrote:
Hi,
I am using
Hi,
I have tried.But it does not work.Are there any other suggestions?Many
thanks in advance.
Kind regards,
Gao shu
From: Luis Rivera [EMAIL PROTECTED]
Reply-To: axis-user@ws.apache.org
To: axis-user@ws.apache.org
Subject: RE: Urgent!java.lang.reflect.InvocationTargetException
Date: Thu
Hi,
I am not sure if you solved this. I had the same problem and after checking
the source code I realized that this is a generic exception. Which means
that most exceptions are mapped to a InvocationTargetException, so look at
the whole trace and logs and figure out where is the
xsd:dateTime
On 10/10/06, Joseph Vincens [EMAIL PROTECTED] wrote:
I have an existing set of Beans and 1 bean has a field that is defined as a
java.util.Calendar and the wsdl has the field as a xsd:time. When I run the
wsdl2Java the code generated is expecting the field to be of type
/2006 09:56 AM
Please respond to
axis-user@ws.apache.org
To
axis-user@ws.apache.org
cc
Subject
Re: Urgent question on Axis 1.3
xsd:dateTime
On 10/10/06, Joseph Vincens [EMAIL PROTECTED] wrote:
I have an existing set of Beans and 1 bean has a field that is defined
Joseph
Vincens
To: axis-user@ws.apache.org
Sent: Tuesday, October 10, 2006 10:19
AM
Subject: Re: Urgent question on Axis
1.3
I tried that but then when
Axis tries to deserializes the incoming message it says that the date is
invalid, because the message being received
of JAX-RPC 1.1(time is a calendar)? Is there a switch that
controls this?
Joe
Martin Gainty
[EMAIL PROTECTED]
10/10/2006 10:42 AM
Please respond to
axis-user@ws.apache.org
To
axis-user@ws.apache.org
cc
Subject
Re: Urgent question on Axis 1.3
Joseph-
I dont know why
Hi, Hussain
I think you may need to use WSS4J, but I
am just reading the document of wss4J. I am working a pilot project which a
java client consuming a .NET WSE enabled web service.
Hopefully it can help you a little bit.
Jeffrey
From: Hussain, Asim
[mailto:[EMAIL
Hi, I have looked into that. What I need
is simply to add headers to existing stubs. Hopefully that will be it. Can
that be done?
-Original Message-
From: Shi, Jeffrey
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 30, 2006
5:01 PM
To: axis-user@ws.apache.org
Subject: RE
Please disregard original post, I found the solution to my problem. It turns
out I needed to add a Soap Header to the soap request. I did this with
((Stub)service).setRequestHeader(namespace,name,object) for getting a service
from the locator.
Thanks anyway,
-tom
Inoguchi [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 12, 2006 9:50 PM
To: axis-user@ws.apache.org
Subject: RE: Urgent :Kindly verify whether the procedure is right or
not
Hi,
How about using RPCMessageReceiver instead of using skelton ?
1. Create class ShoppingEngine like this,
public
Hi
Could you post your Beans and service java code ?
I think your process is right if you want to use
generated server skelton.
BTW, are you using Axis2 release 1.0 ?
Regards,
kinichiro
--- Pradeepta Bhattacharya [EMAIL PROTECTED] wrote:
Hello All,
Kindly verify whether
Whatis your definition of'hierarchic
response' which you return in the response?M-
*This
email message and any files transmitted with it contain
confidentialinformation intended only for the person(s) to whom this email
We are supposed to send back an XML
structure bean to the client. So the structure is hierarchic in that sense.
Thanks.
Pradeepta
From: Martin Gainty
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 12, 2006
9:05 PM
To: axis-user@ws.apache.org
Subject: Re: Urgent :Kindly
To: axis-user@ws.apache.org
Subject: Re: Urgent :Kindly verify whether the procedure is right or
not
Hi
Could you post your Beans and service java code ?
I think your process is right if you want to use
generated server skelton.
BTW, are you using Axis2 release 1.0 ?
Regards
it be at the server? Thanks a lot.
Pradeepta
-Original Message-
From: Kinichiro Inoguchi [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 12, 2006 9:50 PM
To: axis-user@ws.apache.org
Subject: RE: Urgent :Kindly verify whether the procedure is right or not
Hi,
How about using RPCMessageReceiver
You can use jmeter to send this exact message, and then you'll have a response.
How to do that programatically is a much bigger question. Do you have a wsdl ?
HTH,
Robert
http://www.braziloutsource.com/
On 7/5/06, Bruno Negrao [EMAIL PROTECTED] wrote:
Hi guys,
I'm new to SOAP and I need
I don't have it. Would I need it? the server is not java.There's a soap client here running in perl using SOAP::Lite that doesn't need any bureaucracy. Now i can send a post that the server successfully answers. But I cannot deserialize it. The answer the server sends is a list of Person objects
A WSDL file is always a useful thing to have when exchanging SOAP
messages. It tells you exactly what the messages are supposed to look
like. It has nothing to do with whether or not the server is written
in Java. The reason you want the WSDL is to allow any client to talk
to the service,
You do not need a WSDL, but in situations like these it is helpful
because seemingly your only reference how to make the call is in perl
. Now if you're familair with how the perl code is doing things,
that'll help.
First advice: use axis2 . At least in my case you're more likely to
get help.
Guys, thank you very much for the explanations.
I'm already using tcpmon, very helpful. Bellow is the message sent
from the server, the one I have to deserialize. The method I called
was AgendaPesquisa. It's a method to search in a contacts catalog
for a contact(a person) with some
ERRATA: the contact objects go inside the
ListaContatosPesquisa.../ListaContatosPesquisa tags.
sorry.
I need to create a contact object for each
ListaContatosPesquisa/ListaContatosPesquisa returned from the
server.
thank you,
bruno
HI,
Any suggestions ?
regards,
From: ip vp [EMAIL PROTECTED]
Reply-To: axis-user@ws.apache.org
To: axis-user@ws.apache.org
Subject: URGENT !! error accessing webservices via SSL
Date: Thu, 08 Jun 2006 21:49:35 +
Hi all!
First of all, I am a newbie in webservices. :-)
I have a remote
Hi Nancy,
First, marking your messages to this list as URGENT won't help you in
any means. Rather it will make the case worse. Opensource developers are
willing and like to help others, but can not be forced to do so (except
you have a private service contract with them ;) ).
nancy wrote:
Can
Did you read
http://ws.apache.org/axis2/0_95/userguide2.html#Writing_Web_Services_by_Code_Generating_Skeleton
and
http://ws.apache.org/axis2/0_95/adb/adb-howto.html ?
-- Chinthaka
nancy wrote:
Hi,
I want to use axis2 to generate java classes from wsdl. Earlier I was
using Axis 1
Problem solved, it wasn't axis stripping spaces it was my web service test client, which was parsing a file using XMLBeans with prettyPrint option set !
On 07/02/06, Pete [EMAIL PROTECTED] wrote:
Using Axis 1.3, we have an urgent issue where a MESSAGE_STYLE web service is receiving
Wouldn't this be incorrect? Because then wouldn't the SOAP
message come across like:
soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
soapenv:Body
listTest
Ben,
I recommend that you define your input message element thus:
element
name=listTest
complexType
sequenceelement maxOccurs=unbounded minOccurs=0
name=WSObject type=tns1:WSObject/
element name=field type=xsd:string/
element name=value type=xsd:string/
/sequence
I've solved similar issue by adding this code to my app :
DefaultHttpParams.setHttpParamsFactory(new
DefaultHttpParamsFactory()
{
/**
* @see
org.apache.commons.httpclient.params.DefaultHttpParamsFactory#createParams()
*/
protected
Nicolas,
Can you please add this info to the Axis FAQ Wiki page?
thanks,
dims
On 12/16/05, Nicolas De Loof [EMAIL PROTECTED] wrote:
I've solved similar issue by adding this code to my app :
DefaultHttpParams.setHttpParamsFactory(new
DefaultHttpParamsFactory()
{
Have you validated the WSDL, for example via the 'free as in beer' soa editor
from cape clear? I recently had the same error and the wsdl didn't validate.
iksrazal
Em Terça 06 Dezembro 2005 13:08, o Shakeel Muhammad escreveu:
Hi All,
I had WSDL which I used to generate and deploy web
Hi,
Basically just posting your SAXException: SimpleDeserializer encountered a
child element, which is NOT expected, in something it was trying to
deserialize message says it all. This is a very common problem, although
when I ran into it the solution wasn't that easy. I suggest googling on
I get following exception:
Warning : 50008 : JSP generation does not support complexTypes defined by
extension.
Don't know what it is?
-Original Message-
From: iksrazal [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 06, 2005 10:10 AM
To: axis-user@ws.apache.org
Subject: Re: Urgent
:[EMAIL PROTECTED]
Sent: Tuesday, December 06, 2005 10:10 AM
To: axis-user@ws.apache.org
Subject: Re: Urgent : Exception while generating code from Apache generated
WSDL
Have you validated the WSDL, for example via the 'free as in beer' soa
editor
from cape clear? I recently had the same
.
-Original Message-
From: iksrazal [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 06, 2005 12:55 PM
To: axis-user@ws.apache.org
Subject: Re: Urgent : Exception while generating code from Apache generated
WSDL
That message is from the soa editor, and not an exception, right? That
message
06, 2005 12:55 PM
To: axis-user@ws.apache.org
Subject: Re: Urgent : Exception while generating code from Apache generated
WSDL
That message is from the soa editor, and not an exception, right? That
message
is no problem - providing you are not using JSP. I see that
message often but I don't
nd throws the exception. Has
anyone found any other solutions, like adding a type mapping or something? For
now I'll try manually changing the WSDL if that's a work around until it
hopefully gets fixed in the next release.
Ben
From: Jason Cwik [mailto:[EMAIL PROTECTED]
Sent: Tuesday, D
until it
hopefully gets fixed in the next release.
Ben
From: Jason Cwik [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 06, 2005 10:49 AMTo:
axis-user@ws.apache.orgSubject: Re: Urgent Array issue - Incorrect
DOC/LIT SOAP request from client?
I've run into this problem too. (http
ne found any other solutions, like adding a type mapping or something? For now I'll try manually changing the WSDL if that's a work around until it hopefully gets fixed in the next release.Ben From: Jason Cwik [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 06, 2005 10:49 AMTo: axis-user@ws.apache.
I believe this problem has something to do with Axis's classloading .
I just found even if I put the axis into standalone Tomcat server, I
mean the directory would be like
$CATALINA_HOME/webapps/axis/WEB-INF/myapp.jar , the axis log says
java.lang.ClassNotFoundException:
org.apache.axis.AxisFault.class
I am really confused by the log now.
Could anyone help?
Thanks,
Feng
-Original Message-
From: Feng Xie (fxie)
Sent: Saturday, July 23, 2005 11:22 PM
To: axis-user@ws.apache.org
Subject: RE: Urgent : exception during deployment ( Axis 1_2RC3)
I believe
You do not need any access to the web service's java code (and the web
service may not be implemented in Java). The wsdl is sufficient for you
to produce a client.
The concept is that wsdl2java generates from the Amazon .wsdl file all
the java code you need to call the amazon services,
Hi
if I understand the SSL in java right you didn't need a keyFile on the
client site.
Did you have a HostNameVerifier?
In my code i write this:
System.setProperty(javax.net.ssl.trustStore, trustFile);
HostnameVerifier hv = new HostnameVerifier() {
public boolean verify(String urlHostName,
: Alexander Mischur [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 20, 2005 7:54 PM
To: axis-user@ws.apache.org
Subject: Re: Urgent Client authentication fails for ssl for
Axiswebservicwclient
Hi
if I understand the SSL in java right you didn't need a keyFile on the
client site.
Did you have
76 matches
Mail list logo