Thanks. It is working.
Which build will this be part of ?
Mohan
--
View this message in context:
http://www.nabble.com/java.lang.NullPointerException-AbstractDispatcher.invoke-tp18070227p18148961.html
Sent from the Axis - User mailing list archive at Nabble.com.
-
Thank you for your answer
I did a mistake in the lib name ...
But now I have another error, is there an incompatibility between Axis2
1.4 and Tomcat 6.0.16 ?
The error :
Impossible to call remote service with url.
Caused by: org.apache.axis2.AxisFault: java.lang.LinkageError: JAXB 2.0
API is
Hi Michele,
I made simple service and client to make my problem
clearer.
My client code is attached to this e-mail.
The HelloWorldService is web service created using JAX-WS
and is running on GlassFish.
As you see, I set endpoint, transportInProtocol and
reuse_http_client to Options object.
My p
If you use Axis2 for the above case you dont need to edit your WSDL. In this
case you can provide an OMElement as the request. This is the simplest way
to create an OMElemet.
String str = "XML echo string";
StAXOMBuilder staxOMBuilder = new StAXOMBuilder(new
ByteArrayInputStream(str.getBytes()));
The reason you have NPCServiceHttpSoap11Endpoint at the end of the EPR is to
specify the endpoint this request is heading to. Ideally when u generate a
stub for a service it will pick up the EPR from the WSDL. So just doing
YourserviceStub stub = new YourserviceStub();
would send the request to t
On Thu, Jun 26, 2008 at 9:05 PM, Tim Williams <[EMAIL PROTECTED]> wrote:
> On Thu, Jun 26, 2008 at 8:35 AM, Tim Williams <[EMAIL PROTECTED]>
> wrote:
> > So far the samples seem to explicitly (through API) retrieve a token
> > from the STS. I'm wondering whether this can be done declaratively
> >
Hi All,
We are getting following error in server when receiving a DIME attachment of
size more than 1M from the client (client and server both are using Apache Axis
1.4)
java.io.IOException: End of physical stream detected when 10 more bytes expected
This happens only when client specially sets t
Hello,
I have an out-only service (i.e. a service that doesn't receive a request
element yet it returns a response element). I can generate my skeleton
classes without problems with xmlbeans binding:
wsdl2java.sh -o outputdir -d xmlbeans -ss -sd -g -uri wsdl/WSIterautoID.wsdl
Using AXIS2_HOME:
Thanks a lot Charitha, I could make the call running with no issues.
I have few questions though:
Why cant I use the default constructor meaning
YourserviceStub stub = new YourserviceStub();
Since the stub has this particular implementation in the default constructor?
public YourserviceStub () t
Can you please try to invoke your service by passing the endpoint url in
the constructor of stub as follows.
YourserviceStub stub = new
YourserviceStub("http://[xxx.xx.172.79]:8080/axis2/services/NPCService.NPCServiceHttpSoap11Endpoint";)
regards
Charitha
Attharkar, Asmita wrote:
Hi Charit
Hi Charitha,
Please find my WSDL: - I have edited the location in the end with xxx.xx.172.79
http://NPCWebService.telcordia.com";>
This is my first Web service.
−
−
http://NPCWebService.telcordia.com/xsd";>
−
−
−
−
−
Hi,
Do you have XmlSchema-1.4.2.jar in your classpath?
/sumedha
On Thu, Jun 26, 2008 at 5:46 PM, Fabien Couvert <[EMAIL PROTECTED]>
wrote:
> Hi all,
>
> I try to upgrade Axis2 to 1.4 version but I get this exception when I try
> to createConfigurationContextFromFileSystem :
>
> Exception in thre
Dnia 26-06-2008 o godz. 6:38 Amila Suriarachchi napisał(a):
Did you change your xsd to have an xs:any element? Try to call the OMElement toString() method.Thanks for response!xs:any does not worktoString does not worktoStringWithConsume does not workAny of these methods either returns not-complet
Hi Asmita,
Can you post your wsdl please?
regards
Charitha
Attharkar, Asmita wrote:
Hi, Please find my services.xml in regards to the issue I am having
http://NPCWebService.telcordia.com";>
http://NPCWebService.telcordia.com/xsd"/>
This is my first Web service.
com.telcordia.test.ws.
Hi, Please find my services.xml in regards to the issue I am having
http://NPCWebService.telcordia.com";>
http://NPCWebService.telcordia.com/xsd"/>
This is my first Web service.
com.telcordia.test.ws.NPCWebService
http
Hello,
http://java.sun.com/j2se/1.5.0/docs/api/java/util/UUID.html
java.util.UUID a = UUID.randomUUID ( ) ;
Hope this helps.
José FERREIRO
PS: UUID is the equivalent of GUID in dotnet
On Thu, Jun 26, 2008 at 4:36 PM, Rajesh, Peter (CLAIMS, WIP) <
[EMAIL PROTECTED]> wrote:
> Hi,
>
> How t
Has anyone Integrated UPS Shipping solution to their web system. If
anyone has done that, can you tell me if they have some limit of
packages which you need to ship before you can use their shipping
solution.
Also What are the complexities of using it as Fedex webservice
integration is really c
On Thu, Jun 26, 2008 at 8:35 AM, Tim Williams <[EMAIL PROTECTED]> wrote:
> So far the samples seem to explicitly (through API) retrieve a token
> from the STS. I'm wondering whether this can be done declaratively
> only by way of the policy. It seems that if I have a policy file
> exposed within
Hi Mathew,
Expect some articles on this stuff soon (Within the coming week or so). I'm
in the process of publishing some articles on how to do REST with Axis2.
Thanks for your interest.
This also goes to show limitations in REST.
Thanks,
Keith.
On Thu, Jun 26, 2008 at 6:36 PM, Matthew Beldyk <[E
Hi,
How to generate and UUID? Below class is deprecated.
org.apache.axis2.util.UUIDGenerator;
Thanks & Regards,
Peter Rajesh
*
This communication, including attachments, is
for the exclusive use of addressee and may con
2008/6/26 Amila Suriarachchi <[EMAIL PROTECTED]>:
>> By the way, in the process, I hit upon a case under XMLBeans where the
>> response documents failed validation against the original WSDL. Should
>> I post a test case that demonstrates this? Or is Axis2 with XMLBeans
>> not guaranteed to produce
Hi Keith,
That does make sense, I couldn't determine how to even represent my
complex type of complex types in a uri. This does explain the lack of
documentation on how to do this.
Thanks,
-Matt
On Wed, Jun 25, 2008 at 10:45 PM, keith chapman <[EMAIL PROTECTED]> wrote:
> Hi Matthew,
>
> You can
Hi there!
I've a wsdl for a web service that I've to consume with elements of this
kind:
both in the request and in the response messages.
The goal of doing this is to put generic xml in Request tag.
The documentati
So far the samples seem to explicitly (through API) retrieve a token
from the STS. I'm wondering whether this can be done declaratively
only by way of the policy. It seems that if I have a policy file
exposed within a service's WSDL that states what STS that is
acceptable, then the client shouldn
Hi all,
I try to upgrade Axis2 to 1.4 version but I get this exception when I
try to createConfigurationContextFromFileSystem :
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/ws/commons/schema/resolver/URIResolver
at
org.apache.axis2.context.ConfigurationContextFact
Hi there,
now i have found my problem
there was an very important sentences:
then rename the resultant war as axis2.war and drop it into any
servlet engine. Once your servlet engine starts, you can
view the wsdl for your service at:
What I simply missed is to rename the created file
Masaki,
I ran out of options, I haven't used Axis2 1.4 yet. Can you please
try with Axis2 1.3?
It might be helpful to post all the relevant client code (i.e. which
options you set).
Michele
On 26 Jun 2008, at 11:15, Uno Masaki wrote:
Hi Michele,
I added serviceClient.cleanupTransport()
Hi,
We have recently come across the following senario with our xsd schema:
File 1 has namespace A
File 2 has namespace B
File 3 has namespace A
File 1 imports File 2 imports File 3
This causes a validation exception.
When using the com.sun.tools.xjc.XJCFacade directly this senarion fails
ge
On Thu, Jun 26, 2008 at 3:35 PM, Andrew Clegg <[EMAIL PROTECTED]>
wrote:
> 2008/6/26 Amila Suriarachchi <[EMAIL PROTECTED]>:
>
> > Here your request should be something like this
> >
> > > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
> > xmlns:typ="http://ws.cathdb.info/Types";>
> >
Hi Michele,
I added serviceClient.cleanupTransport() just after
sendReceive() like this.
OMElement resopnse = serviceClient.sendReceive(body);
serviceClient.cleanupTransport();
// processing response
OMException was thrown as below after my client received
2nd response.
Exception in thread
2008/6/26 Amila Suriarachchi <[EMAIL PROTECTED]>:
> Here your request should be something like this
>
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:typ="http://ws.cathdb.info/Types";>
>
>
>
>
>tess
>
>
>
>
OK, then try to call serviceClient.cleanupTransport() when just after
sendReceive().
Michele
On 26 Jun 2008, at 10:04, Uno Masaki wrote:
Hi Michele,
Thank you for quick reply.
My client received 2nd response.
My application always stalls at 3rd request.
I forgot to show my environment.
Hi Michele,
Thank you for quick reply.
My client received 2nd response.
My application always stalls at 3rd request.
I forgot to show my environment.
- JDK 5u15
- Axis2 1.4
- ran from Eclipse 3.3.2
Regards,
Masaki
--- Michele Mazzucco <[EMAIL PROTECTED]> wrote:
> Hi Masaki,
>
> what about
Hi Suran,
thanks for helping...
> Try this http://localhost:8080/axis2/services/MyService?wsdl
I have tried it but ...i didn't get it to call it...
I have added the output of the Tomcat (catalina.out) file...
So it seemed that the service is started well without problems nor there
are any ex
Hi Masaki,
what about the second response?, Did your client received it?
I'm asking it because HttpClient 3 does not use pipelining and so the
3rd request will be sent only after receiving the 2nd response.
Michele
On 26 Jun 2008, at 09:30, Uno Masaki wrote:
Hi axis users,
I'm creating
Hi axis users,
I'm creating SOAP client using Axis2 1.4 kernel.
I'd like to to re-use HttpClient instance by setting
HTTPContants.REUSE_HTTP_CLIENT of Options instance to
true, like this.
Options options = new Options();
optiosn.setProperty(HTTPContants.REUSE_HTTP_CLIENT,
Boolean.TRUE);
Hi everyone,
I've installed and configured Rampart 1.4 to work with the tutorial at
http://wso2.org/library/3190 However, I'm having trouble getting the
SOAP response from the service when generating a client using the stub
classes. The SOAP request headers send by the client doesn't contain the
W
Thanks Sanka. I will try that.
I am going to use that patch with the final release build because the
nightly build uses JDK 5 ? We use 1.4
[javac] bad class file: F:\tools\eclipse\src\web\WEB-INF\lib\axis
2-kernel-SNAPSHOT.jar(org/apache/axis2/AxisFault.class)
[javac] class file has wron
Okay, I found a bug: https://issues.apache.org/jira/browse/RAMPART-118
Is this only related to verison 1.4? I guess yes, while I have no xop
include tag :(
Regards
Jochen
Am Do 26.06.2008 09:23 schrieb Jochen Zink <[EMAIL PROTECTED]>:
> Hello,
>
> I try to send an attachment with MTOM from a C
AFAIK annotations is the only option for this. (i.e if your going through
axis2).
But you have the option of transforming the results from web service before
it reaching your C program.
For example you can transform following response,
http://foo.bar";>
Axis2 unleashed
299.0
confirm
Hello,
I try to send an attachment with MTOM from a Client to a Server. I
traced the Message with tcpmon and see, that the message contains base64
Date directly in the body and not as a xop:include link to an
attachment. This happends with small attachments (34kb) and Big ons
(22mb) both.
On Cli
Hi Guys
Has anybody had an exception
org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxEOFException:
Unexpected EOF; was expecting a close tag for element
I think its caused by having a "<" or similar in the content between tags.
How can it be fixed, do I need CDATA or something similar in th
42 matches
Mail list logo