I've managed the problem by myself but I still don't understand why it's a problem. If I'm using the
IP of the hosting machine in the local network it works fine (127.0.0.1 and 'localhost' aren't
working). Would be nice if someone could give me an explanation for this behaviour.
Ciao
Kasimir
Daniel Kasmeroglu schrieb:
> Jitendra Kotamraju schrieb:
>> What is String argument to Endpoint.publish() ? Can you access the
>> WSDL from any browser (WSDL can be accessed using address?wsdl) ? Try
>> from the hosted machine and client machine.
>>
> It works perfectly if client and service is running on the same machine.
> So I can access the WSDL, the XSD and the services on the host. But if
> the client is on another computer I neither can access the WSDL, nor the
> XSD. This is the startcode. The implementation is quite as simple as
> within the numerous examples, so I've got no idea what's wrong in here.
>
> public static final void main( String[] args ) {
> Endpoint endpoint = Endpoint.publish( "http://localhost:8080/", new
> ServiceImpl() );
> System.out.println( "Started the service..." );
> }
>
> Ciao
> Kasimir
>