.NET Framework Bookmark and Share   
 index > ASMX Web Services and XML Serialization > I need help for calling java web services ;
 

I need help for calling java web services ;

hi ;

i made .net web application for calling javaweb services

i used vs 2008 with WCE 3.0
the problem
how can i send ws addressing
and ws security by the code ,

i tried to customize the soap header but i couldnt

so i dont konw whatshould i do ,to solve this problem .

regards









ALH1982

Have you tried using Visual Studio 2008's "Add Service Reference" feature? If the Java service exposes appropriate metadata, you should hopefully find that the WS-Address and WS-Security headers are taken care of for you automatically.
-steve


Brain.Save() -- http://hyperthink.net/blog
Steve Maine
the problem that you can not browse this java web services by web reference or service reference
so i convert the wsdl to proxy class

and i call this web service by the proxy class

and i should send ws addressing and ws secrity to this web service but i don't now how until now ?

i tried WCE3.0 but no benefit



ALH1982
Please be more specific. What do you mean when you say you cannot browse the Java service? Simply point to the WSDL in the "Add Service Reference" dialog.

Also, what do you mean "WCE 3.0"? Do you mean Web Service Extensions (WSE 3.0)? If so, that's obsolete, and you shouldn't use it.

John Saunders
WCF is Web Services. They are not two separate things.
Use WCF for All New Web Service Development, instead of legacy ASMX or obsolete WSE
Use File->New Project to create Web Service Projects
John Saunders
when i say i can not browse the web service this mean

i can not make a service reference to the url of web service

because this web service require certificate (SSL) Connection

so when i try to make a service reference to https://x
error fired

The request was aborted: Could not create SSL/TLS secure channel.


but my client gave me the wsdl for this web service




ALH1982

You can use google to search for other answers

Custom Search

More Threads

• Critical problem regarding structs in web services
• Connected but no web page on IE 7?
• adding a hard coded value to a dropdown list that is bound to a data source
• How to pass XML as a parameter?
• Hashing SOAP messages in a cross-platform environment
• Interoperability question related to namespaces
• Consuming Xml Web Service using XmlHttpRequest
• Is it possible to implement custom KerberosToken authentication in a similar style to UsernameToken authentication?
• detecting when an app domain is shutting down
• WEB SERVICES SOFTWARE FACTORY...