You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Lalit Dilip Markande (JIRA)" <ji...@apache.org> on 2007/10/09 11:00:52 UTC

[jira] Updated: (CXF-1075) interop with .NET : Probelm while accessing .net service with xfire java client

     [ https://issues.apache.org/jira/browse/CXF-1075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lalit Dilip Markande updated CXF-1075:
--------------------------------------

    Description: 
When xfire java client is used with xfire java server, its working fine. But getting error while accessing .net server with xfire java client.

Error message is :
http://localhost/HelloWorld/service.asmx?wsdl
Exception in thread "main" javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionException: Could Could not find definition for service {http://apache.org/hello_world_soap_http}SOAPService.
    at org.apache.cxf.jaxws.ServiceImpl.<init>(ServiceImpl.java:103)
    at org.apache.cxf.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:55)
    at javax.xml.ws.Service.<init>(Service.java:57)
    at org.apache.hello_world_soap_http.SOAPService.<init>(SOAPService.java:37)
    at demo.hw.client.Client.main(Client.java:28)
Caused by: org.apache.cxf.service.factory.ServiceConstructionException:  Could not find definition for service {http://apache.org/hello_world_soap_http}SOAPService.
    at org.apache.cxf.wsdl11.WSDLServiceFactory.create(WSDLServiceFactory.java:114)
    at org.apache.cxf.jaxws.ServiceImpl.initializePorts(ServiceImpl.java:110)
    at org.apache.cxf.jaxws.ServiceImpl.<init>(ServiceImpl.java:101)
    ... 4 more
Java Result: 1


  was:
When xfire java client is used with xfire java server, its working fine. But getting error while accessing .net server with xfire java client.

<error message="org.apache.cxf.service.factory.ServiceConstructionException:
 Could not find definition for service {http://hello.com/hello/wsdl/HelloWorld/service}HelloWorldService." 
type="javax.xml.ws.WebServiceException">javax.xml.ws.WebServiceException:
 org.apache.cxf.service.factory.ServiceConstructionException: 
Could not find definition for service {http://hello.com/hello/wsdl/HelloWorld/service}HelloWorldService.


Please find the attached Zip file. The Zip file has source code for CXF Service, CXF Client, .Net server and .Net client. The Zip file has Readme.txt to provide information about building, deploying & running CXF service, CXF service client, .net service and .net client. 

As reported in above bug, we are not able to invoke .net service using CXF client. However CXF client and .Net client are able to invoke CXF service.

We are not sure what is going wrong. So we have attached the source code for CXF & .Net service and client. 

> interop with .NET : Probelm while accessing .net service with xfire java client
> -------------------------------------------------------------------------------
>
>                 Key: CXF-1075
>                 URL: https://issues.apache.org/jira/browse/CXF-1075
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0
>         Environment: Windows XP, JDK 1.5 and .net 2005
>            Reporter: Lalit Dilip Markande
>
> When xfire java client is used with xfire java server, its working fine. But getting error while accessing .net server with xfire java client.
> Error message is :
> http://localhost/HelloWorld/service.asmx?wsdl
> Exception in thread "main" javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionException: Could Could not find definition for service {http://apache.org/hello_world_soap_http}SOAPService.
>     at org.apache.cxf.jaxws.ServiceImpl.<init>(ServiceImpl.java:103)
>     at org.apache.cxf.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:55)
>     at javax.xml.ws.Service.<init>(Service.java:57)
>     at org.apache.hello_world_soap_http.SOAPService.<init>(SOAPService.java:37)
>     at demo.hw.client.Client.main(Client.java:28)
> Caused by: org.apache.cxf.service.factory.ServiceConstructionException:  Could not find definition for service {http://apache.org/hello_world_soap_http}SOAPService.
>     at org.apache.cxf.wsdl11.WSDLServiceFactory.create(WSDLServiceFactory.java:114)
>     at org.apache.cxf.jaxws.ServiceImpl.initializePorts(ServiceImpl.java:110)
>     at org.apache.cxf.jaxws.ServiceImpl.<init>(ServiceImpl.java:101)
>     ... 4 more
> Java Result: 1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.