Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Metro client for WCF service?

Reply
Thread Tools

Metro client for WCF service?

 
 
Uli Kunkel
Guest
Posts: n/a
 
      06-22-2009

This is maybe a little OT but I found no answers anywhere else.
I have a WCF web service and I cannot invoke it from a metro java client.
I get the following exception:

javax.xml.ws.WebServiceException: {http://namespace}MyPort is not a
valid port. Valid ports are: {namespace}BasicHttpBinding_IMyPort.

WCF has "BasicHttpBinding" port binding, and in a java client stub there
is only the wsdl default binding "MyPort".

Can anyone help?
 
Reply With Quote
 
 
 
 
Mike Schilling
Guest
Posts: n/a
 
      06-24-2009
Uli Kunkel wrote:
> This is maybe a little OT but I found no answers anywhere else.
> I have a WCF web service and I cannot invoke it from a metro java
> client. I get the following exception:
>
> javax.xml.ws.WebServiceException: {http://namespace}MyPort is not a
> valid port. Valid ports are: {namespace}BasicHttpBinding_IMyPort.
>
> WCF has "BasicHttpBinding" port binding, and in a java client stub
> there is only the wsdl default binding "MyPort".
>
> Can anyone help?


Can you post the wsdl?


 
Reply With Quote
 
 
 
 
Uli Kunkel
Guest
Posts: n/a
 
      06-25-2009
Mike Schilling wrote:
> Uli Kunkel wrote:
>> This is maybe a little OT but I found no answers anywhere else.
>> I have a WCF web service and I cannot invoke it from a metro java
>> client. I get the following exception:
>>
>> javax.xml.ws.WebServiceException: {http://namespace}MyPort is not a
>> valid port. Valid ports are: {namespace}BasicHttpBinding_IMyPort.
>>
>> WCF has "BasicHttpBinding" port binding, and in a java client stub
>> there is only the wsdl default binding "MyPort".
>>
>> Can anyone help?

>
> Can you post the wsdl?
>
>


Sorry I see that the problem is in the dotnet.
I userd svcutil to create code for the server, but it doesn't work that
way. It can only create code for the client!

Anyway this works for dotnet clients, but for metro the wcf service has
to be manually programed..
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WCF client passing 2 client authentication tokens? Markus Leder ASP .Net Web Services 1 04-14-2010 10:36 AM
Difference between Ajax Enabled WCF service and regular WCF? Cindy Lee ASP .Net 1 03-19-2010 05:59 PM
AJAX enabled WCF Service Vs Standard WCF Service Simon ASP .Net 0 10-13-2009 09:13 AM
Metro 1500 logon problems Kirill Ponazdyr Cisco 0 01-12-2005 05:39 PM
Remote VLANs bridging over metro ethernet ... Pedro Ribeiro Cisco 4 07-21-2004 11:43 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57