Hi, I'm using wsdl2java to implement a service. One of my elements in my
response object is an xs:string. When the xml is produced from the service
as a response, the '>' characters are as is. An example would be:
1
This was valid xml apparently (learn something new everyday) and ma
Hi Swapna,
Thanks for you response.
**I am doing something like this:
WebServiceLocator service = new WebServiceLocator();
WebServiceSoap_PortType portType = null;
try {
portType = service.getWebServiceSoap();
service.setWebServiceSoapEn
Hi Dennis,
a little while ago you said that generating WSDL files on mobile
devices is a very difficult
task because of the many configurations that J2ME presents. Can you
please elaborate a bit
on this notion so that I can fully understand your point of view? Not so
much on the configurat
Hi all,
does anyone know to help out with this?
Can Axis 1.x generate document/literal or only rpc/encoded WSDLs? I am
wondering if setting
the OPERATION_STYLE_PROPERTY to document would do the trick.
Thanks
This is probably related to your services.xml file. Check to make sure
you're calling the right classes in there.
On Tue, Aug 11, 2009 at 1:12 PM, Jack Sprat wrote:
> I made a few changes to an Axis2 1.4.1 service and now get the following
> error when I start my Tomcat 5.5 server:
>
> java.lan
Hello Members,
I am using Stub generated by Axis2 1.4 (WSDL2java) in a TimerTask scheduled
inside Weblogic 9.0. It works normally but some times throws this exceptions
and then onwards stops working
org.apache.axis2.deployment.DeploymentException: The following error
occurred during schema gene
Thanks.
I am using standard 1.4.1 and I do not think this fix made it to it.
Just tested with 1.5 and saw the fix !!!
- private static synchronized String getUniqueSuffix(){
+ private static synchronized java.lang.String getUniqueSuffix(){
On Wed, Aug 12, 2009 at 1:27 PM, Andreas Veithen
wrote:
add the following where it says "_resp = _call.invoke" in your stub class
//*
inputXML =
_call.getMessageContext().getRequestMessage().getSOAPPartAsString();
outpu
Hi,
I tried to do this.
header.addChildElement("userID").addTextNode("java");
header.addChildElement("userPwd").addTextNode("sun");
((Stub) portType).setHeader(header);
but the problem is, I get a null response back from the service. I used a
tool
Martin,
I guess the business reason in this case is simply that "Class" is a
business concept...
Andreas
On Wed, Aug 12, 2009 at 17:50, Martin Gainty wrote:
> a valid business reason to use a java reserved word from this list of java
> reserved words
> http://java.sun.com/docs/books/tutorial/jav
Ike,
Probably it is sufficient to upgrade to Axis2 1.5. I tested this with
the current trunk, and ADB now generates a method with name
"get_class". Probably the fix went into the 1.5 release.
Andreas
On Wed, Aug 12, 2009 at 17:08, wrote:
> I got this problem with axis2 1.4.1. . Axis1 doesnt se
Tomaz,
I think you need to give a bit more context/background.
Andreas
On Wed, Aug 12, 2009 at 15:31, TomazM wrote:
> Env:
> OS: Win XP
> Tomcat: 6.0.18
> java: 1.6.0_10-b33
> axis2: 1.4.1
>
>
> I have tomcat web application which use crypto and bouncy castle for signing
> the mail and it work
Asen,
This particular issue was fixed in AXIS2-3921.
Andreas
On Wed, Aug 12, 2009 at 19:52, Asen wrote:
> Andreas, I won't say it if it was not true, but I think you need lettle more
> backgaound in the way I have produce it.
> I do not judge the smartness of the ADB binding, just saying that I
To be honest, I don't really understand the idea behind your approach.
Either there is something missing in your explanation, or your
approach is way too complicated.
Andreas
On Wed, Aug 12, 2009 at 16:05, Ramya K Grama wrote:
> Thanks for ur tip on the CDATA. I'll look into that and come back wi
I am using Axis to generate the stub classes and using the axis client stub
method to set the header and its generating extra attribute
"soapenv:mustUnderstand="0"" please let me know if any of you know how to
remove this attribute.
Thank you,
Swapna
--
View this message in context:
http://www.
Andreas, I won't say it if it was not true, but I think you need lettle more
backgaound in the way I have produce it.
I do not judge the smartness of the ADB binding, just saying that I have
encountered a problem using them and also have found a work around for it in
my particular case.
The deal h
You can use axis client stub class methos set header to do this.
Thanks,
Swapna
samanth marisetty wrote:
>
> Hi,
>
>I am using WSDL2Java to create java stubs and want to write a client. I
> wanted to know if there is any argument that I need to use, to generate
> the
> headers.
>
> Tha
//so if you setup a messageContext and then set property for each stored
attribute
org.apache.axis2.context.MessageContext simpleMsg = new
org.apache.axis2.context.MessageContext();
simpleMsg.setProperty("my", "my");
simpleMsg.setProperty("dog", "dog");
simpleMsg.setProperty("has", "has");
sim
Hi,
I am using WSDL2Java to create java stubs and want to write a client. I
wanted to know if there is any argument that I need to use, to generate the
headers.
Thanks,
Samanth.
You might find following link useful:
[1]. http://www.keith-chapman.org/search/label/MTOM
On Wed, Aug 12, 2009 at 8:01 PM, Ashish Kulkarni <
ashish.kulkarn...@gmail.com> wrote:
> Hi
> I have an requirement to develop a web service which will send data from
> files, i was thinking of creating a w
a valid business reason to use a java reserved word from this list of java
reserved words
http://java.sun.com/docs/books/tutorial/java/nutsandbolts/_keywords.html
?
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidential
I got this problem with axis2 1.4.1. . Axis1 doesnt seem to have this problem
,if i run the wsdlfile trough axis1, axis1 places indeed an underscore, so that
the get_Class() method is beeing created.
How can I solve this prob with axis2? do i need to tweak the adb framework ?
if yes, how this
Illegal interception and manipulation costs businesses millions of dollars in
lost revenue here
AXIS Security is handled by Rampart
Rampart doc states these steps for implementing BC
1.) Download bouncycastle according to your java version. You can download
bouncycastle from the following lin
That is not true. If the element is named "string" and part of a
sequence, ADB doesn't generate anything called String, but only
methods called setString and getString. There is no conflict here. If
the element is a root element, ADB will indeed generate a class called
String, but since it is in a
How to use Rampart for message encryption in JAX-WS web service created
using Axis2?
I have created a web service using Axis2 1.3 and planning to use Rampart
1.3 for implementing Message Level Security. The web service will be
deployed on WAS CE v2.1.
For JAX-RPC style web service created usi
Hi folks,
I am generating from a wsdl Client Server Java code, by using the
axis2-wsdl2code-maven-plugin.The wsdl file contains the following element:
... ...
While compilation phase a class named “ErrorReporType” containing a field
named Class, and the getter and setter methods are tried to
Excuse my jumping into this, but the same would happen if the the element
name is as
and the generated 'String' extending the
ADB binding will conflict
with the java.lang.String class.
I think this is a limitation of the ADB binding.
I have not experienced this problem when using the JiBX bindings
Hi
I have an requirement to develop a web service which will send data from
files, i was thinking of creating a web service which will take input as
file name, and then read data from this file, convert it into XML and send
back this XML document as response.
But i simply cannot send Document obje
Hi folks,
I am generating from a wsdl Client Server Java code, by using the
axis2-wsdl2code-maven-plugin.
The wsdl file contains the following element:
… …
While compilation phase a class named “ErrorReporType” containing a field
named “Class”, and the getter and setter methods are tried
Thanks for ur tip on the CDATA. I'll look into that and come back with any
issues I may have.
The other question I have is regarding storing the request xml.
Where and how could that be done?
I read that OperationContext and SOAPSession can be used to achieve this.
But I will need some help with th
Env:
OS: Win XP
Tomcat: 6.0.18
java: 1.6.0_10-b33
axis2: 1.4.1
I have tomcat web application which use crypto and bouncy castle for signing
the mail and it work well.
But when I'm using same class in my soap service(axis2) I get
error:
javax.mail.MessagingException: IOException while sending m
We are currently using Apache httpd and Tomcat without mod_jk. Is it
possible to use the mod_rewrite although?
Thanks alot!
Am 05.08.2009 um 12:00 schrieb Yves Glodt:
On Wednesday 05 August 2009 11:34:20 Moritz Mädler wrote:
Hello!
thanks alot for your answer. Do you mean I should use the
Hi
It is my understanding that Sandesha handles the initial RM traffic (create
seq) within itself before sending the client payload that was handed over to it
by the service.
This is our setup:
Client Side Web Service <---> My Module <---> Sandesha
<---> Sandesha <--->
You need to take into account that Axis2 by default doesn't preserve
CDATA sections (and converts them to text nodes). You can use the
approach described in [1] to change this.
Andreas
[1] http://people.apache.org/~veithen/synapse/faq.html
On Wed, Aug 12, 2009 at 00:39, Ramya K Grama wrote:
> He
34 matches
Mail list logo