In our WSDL, we will have times where an empty string will be passed.
Therefore the XML send by the sender could be:
Param1Param1/ or Param1/
Question 1:
When the Stax gets built, it seems not to include this NODE as I try to
process the NODE Tree. My expectation that it would be included,
On Sat, Jun 21, 2008 at 8:40 AM, Samisa Abeysinghe [EMAIL PROTECTED] wrote:
Mike McKee wrote:
In our WSDL, we will have times where an empty string will be passed.
Therefore the XML send by the sender could be:
Param1Param1/ or Param1/
Question 1:
When the Stax gets built, it seems not
Dear All,
Can anyone tell how the requests from different clients for the
same service api is handled?
Like sending the respective response to the respective clients..
Regards,
Shobha
Hi,
Is there any difference when I create stub using
$AXIS2_HOME/bin/bin/wsdl2java.sh from
http://localhost:8080/axis2/services/SomeService?wsdl
and
https://localhost:8443/axis2/services/SomeService?wsdl
Do I have to generate it with some special flags if I am using security
using rampart ?
Is the domain is a trusted domain then you will have no issues. But if the
domain is not a trusted one you will have to import its cert ti your
keystore first. This blog entry by dims [1] Gives you the details.
On the security issue, does the WSDL have these details as policy?
Thanks,
Keith.
I don't understand. I've used a WSDL 1 in order to generate the server and
client. The file is (WSDL 1):
wsdl:definitions name=LicenceManager
targetNamespace=http://www.grupmicros.com/LicenceManager/;
xmlns:tns=http://www.grupmicros.com/LicenceManager/;
you can use parameterOrder attribute at the operation level to define the
parameter order
please see
http://wso2.org/library/2935
thanks,
Amla.
On Fri, Jun 20, 2008 at 10:36 AM, keith chapman [EMAIL PROTECTED]
wrote:
Hi,
The *addAnonymousOperations() *method is declared in the Stub class
As I mentioned yesterday, I've asked a redeploy, and now the problem is
solved. Strange but true :). If it happens again, I will come back to this
and will deliver also the service archive.
Thanks for your feedback.
2008/6/19 Deepal jayasinghe [EMAIL PROTECTED]:
Hi Verstuyft,
As I can see
I created webservice and in service.xml I added information about rampart
module and also PWCHandler class.
Then I deployed service using options given in apache axis2 quick start
guide.
Should wsdl have this information ?
Thanks,
--RAFI
PWCBHandler
On Fri, Jun 20, 2008 at 12:18 PM, keith
Hello
I am having problem to run hibernate (3.2.6 ga) on axis2 (1.4) and use
HQL queries.
I get the following exception ClassNotFoundException:
org.hibernate.hql.ast.HqlToken.
When I run the application as a stand alone, it works fine, but when I
run it as web service on axis2 it does not.
I think you do have a CreateLicence.java file used to send the request, and
a parse function in it, could you send it ?
Caffrey, Colm ha scritto:
Ive attched the WSDL and XSD files im working with
The message I get is:
Illegal character in path at index 42:
file:/C://META-INF/testService.wsdl
(wasn't it file:/C://META-INF/testService.xsd rather?)
The WSDL seems ok, maybe the path in which the WSDL
hum.. sorry, I think I've a very big question about maven and cvs.
How can I retrieve the nightly builds ?
when I try to follow the link :
While trying to retrieve the URL: http://cvs.apache.org/dist/axis2/nightly
The following error was encountered:
- * Connection Failed *
The system
Looks like there is an issue at http://cvs.apache.org/dist/axis2/nightly.
You dont need cvs to download the nightly.
Thanks,
Keith.
On Fri, Jun 20, 2008 at 1:22 PM, pierre betz [EMAIL PROTECTED] wrote:
hum.. sorry, I think I've a very big question about maven and cvs.
How can I retrieve the
is that the only way to retrieve the snapshot or nightly build of axis2 (1.4
I mean :) ) ?
2008/6/20 keith chapman [EMAIL PROTECTED]:
Looks like there is an issue at http://cvs.apache.org/dist/axis2/nightly.
You dont need cvs to download the nightly.
Thanks,
Keith.
On Fri, Jun 20, 2008 at
Hi,
I've created a webservice that works fine on our development
environment. When we deploy it to a staging environment I can connect
to my webservice with a C# client. But when I create the stub by the
Axis2 framework for Java, I get the error below.
If I create the same stubs for the
hi,
that works, thank you very much!
Florian
hi,
i have the following problem:
in my scenario a client sends a soaprequest containing a header with a
sessionid,
I suppose which has nothing to do with Axis2 session management ?
username and password. my custom module then
Hi,
I've created a webservice that works fine on our development
environment. When we deploy it to a staging environment I can connect
to my webservice with a C# client. But when I create the stub by the
Axis2 framework for Java, I get the error below.
If I create the same stubs for the
I've used WSDL2Java in order to generate my stub using ADB DataBinding and
the command generates a LicenceManagerStub.java that contains all classes
inside it.
http://www.nabble.com/file/p18025922/LicenceManagerStub.java
LicenceManagerStub.java
--
View this message in context:
Hi Tim,
I'm unable to find rampart-trust.mar and obviously don't have the
necessary maven-fu to build it myself.
Name of the trust module in Apache Rampart is Rahas. So what you need
is rahas-x.x.mar . If you download the Rampart distribution [1] you can find
it under modules.
thanks,
Hello again.
I created a client sending Axis request XML using SAAJ as explained into the
link.
I developed my client with Eclipse with JDK1.5 and everything works fine.
My problem now is that when my client runs with JRE1.6, I have this response:
?xml version=1.0 encoding=UTF-8?
Morning folks, a new Axis2 user here seeking some sage advice.
I'm working on a new WS interface for a scientific compute farm, using
Axis2 to generate server classes from WSDLs. The WSDLs currently
define three services: Submit, Monitor and Retrieve.
Submit offers various operations for
Hi,
As I said before this looks like an issue in the generated WSDL The location
should have been whttp:location=LicenceManager/CreateLicence instead of
whttp:location=/CreateLicence. If you trued my suggestion it will work for
you. Can you try that please. BTW here is what httpLocation means
Hi,
I am trying to generate stub using $AXIS2_HOME/bin/bin/wsdl2java.sh from
https://localhost:8443/axis2/services/SomeService?wsdl
following instruction from
http://article.gmane.org/gmane.comp.apache.webservices.axis.user/58499*
*
Now when I try to generate stub using command
On Fri, Jun 20, 2008 at 5:33 AM, Nandana Mihindukulasooriya
[EMAIL PROTECTED] wrote:
Hi Tim,
I'm unable to find rampart-trust.mar and obviously don't have the
necessary maven-fu to build it myself.
Name of the trust module in Apache Rampart is Rahas. So what you need
is rahas-x.x.mar .
Hi Rafaqat,
Try to generate the stub as follows. Please use http port instead of
https one.
$AXIS2_HOME//bin/wsdl2java.sh -uri
http://localhost:8080/axis2/services/GreetingService?wsdl
https://localhost:8443/axis2/services/GreetingService?wsdl -p
test.wstest.client -uw -o
regards
Charitha
I was using http before but when tried to run client, I was getting
Exception
Exception in thread main org.apache.axis2.AxisFault: SOAP message MUST NOT
contain a Document Type Declaration(DTD)
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
at
Could you post your WSDL please?
Thanks,
Keith.
On Fri, Jun 20, 2008 at 4:59 PM, Rafaqat Ali [EMAIL PROTECTED] wrote:
I was using http before but when tried to run client, I was getting
Exception
Exception in thread main org.apache.axis2.AxisFault: SOAP message MUST
NOT contain a Document
I developed java code and service.xml and generated service using axis2
binaries
On server this is how wsdl looks
wsdl:definitions targetNamespace=http://quickstart.samples/;
−
wsp:Policy wsu:Id=UsernameTokenOverHTTPS
−
wsp:ExactlyOne
−
wsp:All
−
sp:TransportBinding
−
wsp:Policy
−
On Fri, Jun 20, 2008 at 6:51 AM, Tim Williams [EMAIL PROTECTED] wrote:
On Fri, Jun 20, 2008 at 5:33 AM, Nandana Mihindukulasooriya
[EMAIL PROTECTED] wrote:
Hi Tim,
I'm unable to find rampart-trust.mar and obviously don't have the
necessary maven-fu to build it myself.
Name of the
Hi Jan,
I went through this recently. In my case there was also other errors happening
before this occured. Specifically 403 transport error.
To resolve it I used some instructions from here to look into tcpmonitor:
1. Goto window-show view-other in eclipse
2. Search for TCP and you will find
I validated that there is no other wsdl, by including more operations to the
wsdl in question to see those changes when I query it using SOAPUI. So, that
validates that this is the wsdl that SOAP UI is querying but is generating
SOAP1.1 and SOAP1.2 sample requests, even though I have defined only
Hi all,
Hopefully someone can recommned the right way to do this...
I have an Axis2 WebService whose main job is to instantiate objects
running in tomcat. These tomcat objects organize data and return them
thru the WebService interface. This allows me to expose legacy data in
an
Hi Andrew,
I am fairly new to Axis2 so I can offer non-Sage advice ... but some
real experience information...
I am building multiple services that get bundled into one .aar file. I
have a servcies.xml file that uses this structure
serviceGroup
service name=...
/service
service name=...
Hi Jon, thanks for the tips. I've stayed on-list for the benefit of
future searchers...
2008/6/20 Willard, Jonathan [EMAIL PROTECTED]:
I am building multiple services that get bundled into one .aar file. I
have a servcies.xml file that uses this structure
serviceGroup
service name=...
I am very weak with ant but bundle my classes this way, so that my aar
file contains all of the classes from all of the a-e services that I
ship and the servcies.xml file in com/resources. As I build more
servcies I'll probably want to make my include name a bit less specific.
Since the
2008/6/20 Willard, Jonathan [EMAIL PROTECTED]:
target name=generate.service depends=generate.wsdl
!--aar them up --
jar destfile=../war/lib/MyService.aar
fileset dir=.
include name=**/ws/a/*.class /
include name=**/ws/b/*.class /
Hi Tim,
Thanks Nandana, i do have rahas. The guide only describes how to
deploy it while overriding the Issuer. To deploy it without
overriding the issuer, do I just create a service archive that only
contains a services.xml file referencing rahas and rampart?
Rampart policy sample 05
Yes, the java objects needs to be converted into soap request xml.
Thanks Regards,
Peter Rajesh
CI Production Support
Office - 860-547-3881
Mobile - 201-6580195
From: Willard, Jonathan [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2008 4:10 PM
hi,
We've moved away from the Axis1 model and in Axis2 the serilization
code is included in the beans itself. For example if you code
generate with ADB , XMLBeans or any other databinding configuration
then the beans will either have the capability to
serialize/deserialize themselves or the
A working WAR project has been redeployed as a SAR, but when the
loader-repository is activated and limited to just the SAR, the following
exception occurs when configuring Axis2.
This looks a lot like a missing JAR or classpath problem. How can I better
determine the source of the error?
41 matches
Mail list logo