--------- Original Message --------
From: Development community of OTRS.org <dev@otrs.org>
To: Development community of OTRS.org <dev@otrs.org>
Subject: Re: [dev] Java WebServiceClient for OTRS
Date: 09/05/08 07:41

>
> jonathan sartin ([EMAIL PROTECTED]) wrote:
>
> &gt; It's not wsdl for the rpc-example.pl, but I have tested it with AXIS
> &gt; 1.4 (my requirement). You can use this module and wsdl for creating
> &gt; and retrieving simple tickets/articles.
>
> Hi,
>
> rpc/encoded works with Axis?

It does with 1.4, anyway.

>I'd prefer document/literal (wrapped) as rpc/encoded is not WS-I compliant.

yeah, document/literal isn't exactly SOAP::Lite's strong point though. I
suspect it's possible but I can't find any examples to work with.

> I also have problems importing it into MS
> VisualStudio (stubs aren't generated).

That I can't help you with, I'm afraid.

> BTW: You have to change the port address from
> &quot;http://localhost/otrs/opennms.pl&quot; to whatever your local
hostname is.
>

Yeah, you'd set the endpoint with something like:

service = new TicketServiceLocator();

service.setTicketServicePortEndpointAddress(new
java.lang.String("http://yourhost/otrs/opennms.pl";));

rather than change the wsdl though. I guess I could have OTRS tweak the wsdl
on the way through to reflect the hostname.

Cheers ... J


________________________________________________
Message sent using UebiMiau 2.7.2

_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Reply via email to