yes, it's 1.3. I use it via mvn:
groupIdorg.apache.axis2/groupId
artifactIdaxis2-kernel/artifactId
version1.3/version
Alistair
--
mov eax,1
mov ebx,0
int 80h
Hi,
What is the Axis2 version you are using ? Did you try that with Axis2 1.3
?
Best,
--Sanka
Alistair Young wrote
was doing what it says on this page:
http://wso2.org/library/1646
So I think the issue is the service client not picking up
Protocol.register or not understanding anything other than https as a
protocol designator?
thanks,
Alistair
--
mov eax,1
mov ebx,0
int 80h
Alistair Young wrote:
typo
I'd like to remap https to another name, e.g. secure as I want to
use custom ssl handling with it. I've done this:
Protocol authhttps = new Protocol(secure, new
FedoraProtocolSocketFactory(keystoreLocation, keystorePassword,
truststoreLocation, truststorePassword, 443);
to be passed in to Axis engine
I did that but nothing works. I always get the error:
Transport out has not been set
Alistair
--
mov eax,1
mov ebx,0
int 80h
On 1 Nov 2007, at 11:50, Alistair Young wrote:
typo, it should be:
Protocol authhttps = new Protocol(https, new
of https. Registering secure as a protocol is enough for
HttpClient but not Axis2. Is there another step I need to do to get
Axis2 to work with secure protocol designator?
thanks,
Alistair
--
mov eax,1
mov ebx,0
int 80h
On 1 Nov 2007, at 11:29, Alistair Young wrote:
I'd
( 192.168.0.10);
proxyProperties.setProxyPort(80);
stub._getServiceClient().getOptions().setProperty
(HTTPConstants.PROXY, proxyProperties);
Replace 192.168.0.10 with your proxy IP, and replace 80 with
appropiated port (possibly 443).
2007/10/31, Alistair Young [EMAIL PROTECTED
Hi there,
is it possible to specify a truststore for a client at run time other
than using:
System.setProperty(javax.net.ssl.trustStore, ...);
you can't use the above in a multi client environment as they all
overwrite each others' truststore details.
is there any way to tell
export your tomcat's cert into a truststore and specify it in your client:
keytool -export -alias tomcat -keystore keystore.jks -file server.cer
keytool -import -alias myservice -keystore truststore -file
in the client code add:
System.setProperty(javax.net.ssl.trustStore,
, Alistair Young [EMAIL PROTECTED] wrote:
export your tomcat's cert into a truststore and specify it in your
client:
keytool -export -alias tomcat -keystore keystore.jks -file server.cer
keytool -import -alias myservice -keystore truststore -file
in the client code add:
System.setProperty
Hi there,
could someone help please?
I am accessing a service via HTTPS and get the error:
org.apache.axis2.AxisFault: problem accessing the parser. Parser
already accessed!
I'm setting the BASIC auth, username and password ok as well as the
truststore and password but I get this error
svn co http://svn.apache.org/repos/asf/webservices/axis2/trunk/java trunk
then for a quick build
maven -Dskip.enterprise.tests=true -Dmaven.test.skip=true clean release dist
Alistair
--
mov eax,1
mov ebx,0
int 80h
Could somebody point me to the source repository for Axis2 using Maven1 or
I did this today. I didn't use an aar. Instead I put all the classes in
WEB-INF/classes, including schemaorg_apache_xmlbeans from resources. The
only thing I have in WEB-INF/services/ServiceName is:
META-INF/
Service.wsdl
services.xml
I tried putting some of the classes in Axis2 and the rest in
Is there any way to specify the service scope when using wsdl2java?
or is it just a case of adding scope=transportsession after
build.xml has been created?
Alistair
--
mov eax,1
mov ebx,0
int 80h
to services directory (only one will be picked up).
Therefore I think we need to fix this b4 the release and I think we
should either pick WSDL file name as the service aar name or the one of
the service name in the wsdl as the service aar file name.
Thanks
Deepal
Alistair Young wrote
either pick WSDL file name as the service aar name or the one of
the service name in the wsdl as the service aar file name.
Thanks
Deepal
Alistair Young wrote:
wsdl2java now creates the service as Service.aar instead of
ServiceName.aar. e.g. previously, if your service was called
MinervaService
will be picked up).
Therefore I think we need to fix this b4 the release and I think we
should either pick WSDL file name as the service aar name or the one
of
the service name in the wsdl as the service aar file name.
Thanks
Deepal
Alistair Young wrote:
wsdl2java now creates the service
latest snapshot fixes it!
thanks,
Alistair
--
mov eax,1
mov ebx,0
int 80h
On 30 Mar 2007, at 10:31, Alistair Young wrote:
trying to run wsdl2java.sh I get this error:
Exception in thread main java.lang.NoClassDefFoundError: javax/
wsdl/WSDLException
last nightly
when using xmlbeans databindings, the -ns2p switch on the wsdl2java
compiler doesn't seem to be applied to the emitted implementation
classes
you could use the new xsdconfig support ;)
Alistair
--
mov eax,1
mov ebx,0
int 80h
On 3 Apr 2007, at 13:31, FURTADO, Murray, GBM
I tried the nightly but it doesn't have the xsdconfig support for
wsdl2java that is trunk. Is the fix in trunk?
Alistair
--
mov eax,1
mov ebx,0
int 80h
On 19 Mar 2007, at 10:28, Amila Suriarachchi wrote:
On 3/19/07, Alistair Young [EMAIL PROTECTED] wrote:
xs:import id
Exception in thread main java.lang.NoClassDefFoundError: javax/wsdl/
WSDLException
Alistair
--
mov eax,1
mov ebx,0
int 80h
On 20 Mar 2007, at 12:00, Amila Suriarachchi wrote:
On 3/20/07, Alistair Young [EMAIL PROTECTED] wrote:
I tried the nightly but it doesn't have the xsdconfig
, so nothing works.
thanks,
Alistair
--
mov eax,1
mov ebx,0
int 80h
On 16 Mar 2007, at 14:41, Alistair Young wrote:
in META-INF/TestService.wsdl:
targetNamespace=uk:ac:ox:oucs:ask:repo:ws:collectionmanager
xmlns:rt=uk:ac:ox:oucs:ask:repo:ws:types
axis2-admin listing the service
to the services.xml file.
From: Alistair Young [mailto:[EMAIL PROTECTED]
Sent: Monday, March 19, 2007 4:45 PM
To: axis-user@ws.apache.org
Subject: Re: [AXIS2] targetnamspace wrong in Axis2 version of wsdl
with imported xsd
Can Axis2 wsdl2java not handle imported schema files? The imported
xsd file gets
removing the import and embedding the schema directly in the wsdl
types solves the problem. Looks like wsdl2java can't handle imported
schema.
Alistair
--
mov eax,1
mov ebx,0
int 80h
On 19 Mar 2007, at 08:57, Alistair Young wrote:
that will never work as the imported
,
Alistair
--
mov eax,1
mov ebx,0
int 80h
On 19 Mar 2007, at 09:49, Amila Suriarachchi wrote:
On 3/19/07, Alistair Young [EMAIL PROTECTED] wrote:
that will never work as the imported namespace is renamed by Axis2:
original WSDL:
xs:import id=askRepoTypes
namespace
I have a service method which takes an XMLBeans object as input and
returns an XMLBeans object as output but when I access it using the
client I get the error:
Service Class does not implement required method of the form
OMElement methodName(OMElement)
is there anything I can do to find
Are there any examples of setting the classpath with java2wsdl? I've tried:
java2wsdl.sh -cp .:/lib/test.jar -cn org.testing.Tester
but it fails to find the classes in /lib/test.jar
thanks,
Alistair
--
mov eax,1
mov ebx,0
int 80h
it with java2wsdl -cp
(3) append the %CLASSPATH% variable
If you are not familiar with how the jvm treates -cp , I would say - look
at
the java documentation.
On windows , step 3 does not happen. There is JIRA issue open and a patch
has been provided.
Mj
On 2/14/07, Alistair Young [EMAIL PROTECTED
Does anyone know the list of minimum jars required for an axis2 client?
Save me going through them all one at a time until the client runs!
thanks,
Alistair
--
mov eax,1
mov ebx,0
int 80h
-
To unsubscribe, e-mail: [EMAIL
oops! sorry :)
--
mov eax,1
mov ebx,0
int 80h
This *may* be helpful :)
http://marc.theaimsgroup.com/?t=117076186700030r=1w=2
-- dims
On 2/13/07, Alistair Young [EMAIL PROTECTED] wrote:
Does anyone know the list of minimum jars required for an axis2 client?
Save me going through them
I have a method in a service class:
public CombineMinervaObjectsOutputDocument
combineMinervaObjects(CombineMinervaObjectsInputDocument param0);
but when I call it from the client I get the error:
org.apache.axis2.AxisFault: ServiceClass does not implement required
method of the form OMElement
I am sooo stooopid! I generated the service using trunk and deployed it in
a webapp using 1.1.1 - I updated the webapp to trunk and it works :)
Alistair
--
mov eax,1
mov ebx,0
int 80h
I have a method in a service class:
public CombineMinervaObjectsOutputDocument
Is it possible to use xsdconfig files with wsdl2java? I thought -em
would do it but I just get:
org.apache.axis2.wsdl.codegen.CodeGenerationException: The specified
databinding frameworks do not match!
thanks,
Alistair
--
mov eax,1
mov ebx,0
int 80h
where can I get the missing jars please?
maven
The build cannot continue because of the following unsatisfied
dependencies:
wstx-asl-3.2.0.jar
mail-1.4.jar
activation-1.1.jar
thanks,
Alistair
--
mov eax,1
mov ebx,0
int 80h
for wsdl2java
Alistair
--
mov eax,1
mov ebx,0
int 80h
On 2 Feb 2007, at 11:41, Alistair Young wrote:
Is it possible to use xsdconfig files with wsdl2java? I thought -em
would do it but I just get:
org.apache.axis2.wsdl.codegen.CodeGenerationException: The
specified databinding
it's ok - I had an old build.properies lying around pointing at a bad
repo
--
mov eax,1
mov ebx,0
int 80h
On 2 Feb 2007, at 11:56, Alistair Young wrote:
where can I get the missing jars please?
maven
The build cannot continue because of the following unsatisfied
not sure if this is what you want? This invokes a web service without
the wsdl:
MessageFactory factory = MessageFactory.newInstance();
SOAPMessage soapMessage = factory.createMessage();
SOAPBody body = soapMessage.getSOAPBody();
body.addDocument(YourXMLDocument);
SOAPConnectionFactory
tcpmon lets you see the SOAP on the wire
http://ws.apache.org/commons/tcpmon/
Alistair
--
mov eax,1
mov ebx,0
int 80h
On 1 Feb 2007, at 13:50, Daniel Kasmeroglu wrote:
Hi there, I wasn't able to find the answer in the archive so here's
my question:
I've generated an Axis2
Hi there,
I'm getting all sorts of errors when trying to list services from the
axis2 admin screen suc as:
I can not find a service for this request to be serviced
I saw this thread:
http://blog.gmane.org/gmane.text.xml.axis.user/day=20070106
which says that REST is broken on 1.1.1 - is it
Is it possible to do this by just running wsdl2java over the axis1
service's wsdl? What data binding would be best? xmlbeans wouldn't
work as the axis1 service wouldn't know what to do with them.
thanks,
Alistair
-
To
Interesting scenario. You mean an MVC setup for web services? In that case, why not make your MessageReceiver your Controller and code your rules into the MessgeReceiver. i.e. invoke method on classA with incoming message and then get response from classB. How classB knows what to do based on what
using message context for operation return OMElement}ThanksAmit.-Original Message-From: Alistair Young [mailto:[EMAIL PROTECTED]]Sent: Mon 8/14/2006 4:20 PMTo: axis-user@ws.apache.orgSubject: Re: [Axis2] Query regarding service implementationInteresting scenario. You mean an MVC setup for web
I think there would be two ways of accessing a web service from PHP:1 - use the java stub via PHP's Java integration - http://uk.php.net/java2 - POST a SOAP message to the service's REST endpoint without using the stub. Just create the SOAP message in PHP - http://uk2.php.net/soapI've never had to
Would the folks on the list have any recommendations for best practices?
If I have a service operation:
public TestObject doSomething(TestObject testObject1, OtherTestObject
testObject2) {
return testIObject1.something(testObject2);
}
Would it be best to work with
I think what I need is a extension to
AbstractInOutSyncMessageReceiver that does the xmlbeans Document to
Type mapping and calls the service class with those types instead of
the default of calling the service class with one xmlbeans Document.
Alistair
On 10 Aug 2006, at 09:33, Alistair
Hi there,
Is there anything obvious that might be causing these? They occur
when a MessageReceiver (generated by WSDL2Java) is trying to do a
Factory.newInstance
(org.apache.axiom.om.OMElement.getXMLStreamReaderWithoutCaching(),
new
the ability to specify your individual parameters
in your method signature.
Anne
On 8/10/06, Alistair Young [EMAIL PROTECTED] wrote:
I think what I need is a extension to
AbstractInOutSyncMessageReceiver that does the xmlbeans Document to
Type mapping and calls the service class with those types instead
aha! handy thing a debugger coz the exception doesn't make it into
the log.
schemaorg_apache_xmlbeans.system.sA6973D16021071091ABD334B25B9A53E.TypeS
ystemHolder was missing.
sorted
Alistair
On 10 Aug 2006, at 13:11, Alistair Young wrote:
Hi there,
Is there anything obvious that might
it's lib dir from:
export AXIS2_HOME=..
which is the current working directory, which isn't AXIS2_HOME so it
doesn't find it's jars and crashes.
Or do what I do in WSDL2Java.sh:
export AXIS2_HOME=/usr/local/axis2
--
Alistair Young
Senior Software Engineer
[EMAIL PROTECTED] Mòr Ostaig
Isle
.
--
Alistair Young
Senior Software Engineer
[EMAIL PROTECTED] Mòr Ostaig
Isle of Skye
Scotland
Hi Alistair,
Seems you have a very good knowledge on Axis2. Are you willing to
contribute some thing back to the community? If yes, I think the best
one for you to start is to improve
2006, at 20:58, Alistair Young wrote:
this is painful! I found this site which explains it more:
http://www.developer.com/open/article.php/10930_3589126_2
and now I have the types element appearing in something that
resembles
the original wsdl. However, it's a real mess. The types has one
child
Hi there,
When I run WSDL2Java.sh some client code is generated along with the
build file but I get loads of exceptions and no logs and if I try to
build the client I get more errors due to the wsdl2java generation
not working. I notice there's a bug report AXIS2-804:
ok, so the problem is WSDL2Java can't handle generating wsdl over
HTTP. Copying the wsdl locally works. Is this a bug?
Alistair
On 9 Aug 2006, at 08:56, Alistair Young wrote:
Hi there,
When I run WSDL2Java.sh some client code is generated along with
the build file but I get loads
Is this still a problem as I'm seeing it in the latest Axis2 from the
website. This is where the wsdl and schema targetNamespace are the same.
compile.src:
[javac] Compiling 214 source files to /Users/alistair/dev/
incubator/axis2/client/build/classes
[javac]
Trying to Create New Issue but the only project available is
CeltiXFire. There doesn't seem to be a way to report bugs on the Jira
for Axis2. Browsing the Axis2 project but only CeltiXFire appears in
project list when creating new issue. Is it possible to report Axis2
bugs?
Alistair
I did create one but I can't create a new issue
Alistair
On 9 Aug 2006, at 13:49, Davanum Srinivas wrote:
You need to create a JIRA userid first and then login.
-- dims
On 8/9/06, Alistair Young [EMAIL PROTECTED] wrote:
Trying to Create New Issue but the only project available
ok, the damn registration didn't log me in like it said it was going to!
Alistair
On 9 Aug 2006, at 13:53, Alistair Young wrote:
I did create one but I can't create a new issue
Alistair
On 9 Aug 2006, at 13:49, Davanum Srinivas wrote:
You need to create a JIRA userid first and then login
maybe I'll just go back to Axis 1! I downloaded the nightly build but
it doesn't parse wsdl, just crashes so I downloaded the 1.0 source.
I'm trying to debug
org.apache.axis2.wsdl.codegen.CodeGenerationEngine but the maven
build is broken for some reason. Using maven 1.0.2 as recommended
the stack trace? is there a JIRA issue for the problem with nightly
build?
-- dims
On 8/9/06, Alistair Young [EMAIL PROTECTED] wrote:
maybe I'll just go back to Axis 1! I downloaded the nightly build but
it doesn't parse wsdl, just crashes so I downloaded the 1.0 source.
I'm trying to debug
to recreate this problem
would be appreciated.
Nightly builds are available here:
http://people.apache.org/dist/axis2/nightly/
I sent the instructions for getting the corresponding source in the
prev email.
-- dims
On 8/9/06, Alistair Young [EMAIL PROTECTED] wrote:
ok, there's a bug report now
AXIS-991 is now fixed! must have been either the new wsdl or the
nightly build having a fix.
thanks,
Alistair
On 9 Aug 2006, at 15:13, Alistair Young wrote:
AXIS2-991
use this:
WSDL2Java.sh -uri http://sgarbh.smo.uhi.ac.uk:8080/axis2/services/
MinervaTestService?wsdl -ss -sd -d xmlbeans
:
Closing AXIS2-991, getting the same problem as AXIS2-992.
thanks,
dims
On 8/9/06, Alistair Young [EMAIL PROTECTED] wrote:
AXIS2-991
use this:
WSDL2Java.sh -uri http://sgarbh.smo.uhi.ac.uk:8080/axis2/services/
MinervaTestService?wsdl -ss -sd -d xmlbeans -o ../client -p
org.test.client
it gives
files from the axis2war into the project web-inf/lib Good luck,jOn 8/7/06, Alistair Young [EMAIL PROTECTED] wrote: Is it possible to embed Axis2 in your webapp, as it was possible withAxis1? I couldn't see any info on doing so. Seems it only runs as it's ownwebapp /axis2. I'd like the equivalent
If I want to expose as an axis2 service something like:
public class Test {
public TestEntity munge(TestEntity testEntity) {
return Munger.munge(testEntity);
}
}
and be able to use a client with the XMLBeans generated objects that
the service uses, should I use the
*MessageReceiver should be able to generate runtime ?wsdl
with proper schemas from XMLBeans objects.
thanks,
dims
On 8/8/06, Alistair Young [EMAIL PROTECTED] wrote:
If I want to expose as an axis2 service something like:
public class Test {
public TestEntity munge(TestEntity testEntity
I have services.xml in:
org/test/META-INF/services.xml
but axis2 says it can't find services.xml for the service. The
website says to put META-INF/services.xml in the same directory as
the class file. So I looked at the version.aar that comes with axis2
and it has two:
, Nirmit Desai wrote:
You should have your services.xml in the same directory as your
classes
(not inside packages). So,
--org
--test
--MyTest.class
--META-INF
--services.xml
--myService.wsdl(optional)
-Nirmit
Alistair Young
[EMAIL
oh dear, it's time to go home! It should be:
org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver
--
Alistair Young
Senior Software Engineer
[EMAIL PROTECTED] Mòr Ostaig
Isle of Skye
Scotland
thanks, putting META-INF at the same level as src works but the
website image has META-INF
Hi there, me again! Is there any way to preserve the original WSDL when
deploying a service? The generated WSDL is not much use as it has removed
all the types elements so no data binding can occur.
I read somewhere that you can put the WSDL in META-INF but that didn't do
anything.
--
Alistair
=falseorg.test.Test/parameter
parameter name=useOriginalwsdltrue/parameter
operation name=combineMinervaObjects
messageReceiver
class=org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver/
/operation
/service
thanks,
Alistair
--
Alistair Young
Senior Software Engineer
[EMAIL PROTECTED
in the original wsdl.
I just can't get axis2 to reproduce the original wsdl. Is Axis2 sensitive
to namespace declarations?
--
Alistair Young
Senior Software Engineer
[EMAIL PROTECTED] Mòr Ostaig
Isle of Skye
Scotland
apparently this in services.xml is meant to work but it doesn't:
parameter
Is it possible to embed Axis2 in your webapp, as it was possible with
Axis1? I couldn't see any info on doing so. Seems it only runs as it's own
webapp /axis2. I'd like the equivalent of:
http://site.org/services
without having to install an Axis specific webapp.
thanks,
Alistair
--
Alistair
Is there any way a BasicHandler or a jax-rpc Handler can find out the
real path of a file? where servlets have getRealPath, do handlers
have anything similar?
Otherwise there's no way for a handler to load it's config file
without specifying the full path in the wsdd as a parameter.
ta,
();
String propertiesUrn =
httpsession.getServletContext().getRealPath(/WEB-INF/properties/
somefile.properties);
Hope this helps,
Mark Malinoski
Consultant
AES/PHEAA
Alistair Young
[EMAIL PROTECTED]
.ac.uk
just thought I'd mention, you can do it also via:
call.setProperty(configFile, servletContext.getAttribute
(configFile));
but then you have to initialise the handler in it's invoke method
which seems naff!
Alistair
On 21 Jun 2005, at 15:43, Alistair Young wrote:
managed it via
Well, after much headbanging I sorted it! For the benefit of the
list, or anyone else as daft as me, if you use the WSDL of the
service to configure the Call, if you call setTargetEndpointAddress()
or setOperationName() the handler isn't called.
Alistair
On 17 Jun 2005, at 12:56, Alistair
75 matches
Mail list logo