.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Kaviya Balasubramanian
Sgraph Infotech
Imran Ghani
Post New Web Links

WS Client WSDL does not contain FQDN

Posted By:      Posted Date: April 10, 2011    Points: 0   Category :ADO.Net
 

I'm writting .NET C# application that is the client of a web-services application.  The problem I have is the WSDL uses hostname and not FQDN.  The web services host is out of my control and the developers won't change or add a new FQDN WSDL.  My servers are out of my control so I can't change IIS.  The server is on a shared server where we receive our own partition.  I really want to use the power of .NET to handle the web services. 

Is there anyway I can configure / define in a .NET C# web services client application to translate the hostname into a FQDN so the WSDL and SOAP can be used? or am I wasting my time searching and should go the hard route of coding everything up?

We are running Visual Studio 2008 Professional Edition, .NET Framework 3.5 and accessing MS SQL 2008.  The WSDL and SOAP are generated by Oracle database.




View Complete Post


More Related Resource Links

How to develop WCF services and host them only using WSDL and schemas provided by client(consumer)?

  
Hi,I am new to WCF. I have just gone through sample calculator service examples and have very hazy understanding of WCF. I have one requirement  where i need to develop WCF services. I have been provided with WSDL and SCHEMAS and has been asked to develop WCF services part.The client part is ready and they need us to write webservices so they can consume it. Can anyone please xplain how could i begin with and from where ? Also what are schemas (XSD's) used for ? Also how would I make sure that after building webservices I have hosted the webservices in such a way that other people in our network could access them ?I have read forums where you have webservices  but need to write clients which can consume it, but not sure how to approach the above requirement. Any help would be greatly appreciated. Please explain it considering I AM NOVICE/BEGINNER.  Thanks

ASP.net UPS void wsdl error message 'exception has been raised as a result of client data'

  

exception has been raised as a result of client data. at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol

Void shipment erro message; I can't determine how to resolve error.  at ***

The following is the code for ups void shipment wsdl...

protected void wsdlRate()

{

RateWSs.RateRequest rateReq = new RateRequest();RateWSs.UPSSecurity rateSecurity = new RateWSs.UPSSecurity(); RateWSs.UPSSecurityServiceAccessToken rateToken = new RateWSs.UPSSecurityServiceAccessToken

Jax-WS and .Net client WSDL Object cast

  

Hello,

 

I'm currently developing a Jax-WS web service with a .NET client. I defined two objects in my web service like this:

 

public class Line(){

private Phrase[] phrase;

public Phrase(){

}

. . .

 

public class Phrase(){

private String[] words;

public Phrase(){}

. . .

}

 

I want to define a set of lines each one with a set of Phrases... and I use type Array of Phrases into an array of lines to do it. Similary, a Phrase is composed by a set of words. 

I've tested a web service method that returns an Object Lines with a java client and every thing went ok... but... When tested it on .net client the type  "Lines" is interpreted like "string [][]" instead of "Phrase []" ...and type Phrase is not recognised.

I've already tested this method by replacing String[] to String in class Phrase and it works on .net too... but I really needed to use it like String[].

Can anyone help with this please?

Thks a lot.

Gily


SharePoint 2010 site using FQDN and Silverlight Client object model issues

  

I am working a FQDN installation of SP2010 site and I am having touble connecting to it from Silverlight, when my Silverlight app is running outside that SP2010.
Just to include the note, that if I use the CLR client object model, from a Console Application, I am able to connect to the FQDN SP 2010 site, and get all data I need. Using the CLR and monitoring with fiddler there are two consequent requests made: first GET to http://my_sp2010_site_fqdn/_vti_bin/sites.asmx, then POST to http://my_sp2010_site_fqdn/_vti_bin/client.svc/ProcessQuery and Everything works fine.
However when it comes to the Silverlight Client I have troubles.
If I put my silverlight application in a web part inside my site, it works. If I put it on a regular site, outside SP - it does not work and following behavior is observed:

There is initial request sent to
http://my_sp2010_site_fqdn/_vti_bin/sites.asmx
but there is no consequent request to http://my_sp2010_site_fqdn/_vti_bin/client.svc
That second request does not even show up in fiddler.

private ListItemCollection _projects;
...

ClientC

Needs of a WCF client leveraging a WSDL file?

  

I managed to confuse myself trying to learn something about SOAP 1.2, and WSDL 1.1, and a couple other technologies all at once. After struggling to implement a simple client use of WCF to make a simple web service call by hand (which I also am writing in PHP since it is a Linux platform), I discovered “Add Service Reference…” in VS C# 2010 Express which made what I had been trying to do work like magic. The problem is that I don’t understand the magic.

 

From my reading, I was led to believe that all I needed to do to hand implement (i.e., not use “Add Service Reference…”) a client was write a WSDL file for the web service, then access that on the client end to auto-generate code and a .config file with SvcUtil.exe. My trouble was in not being able to make that process work. When I use the “Add Service Reference…” feature, several additional files are created beyond the code file and .config file (configuration91.svcinfo, configuration.svcinfo, & Reference.svcmap). I must be failing to understand all the n

Use jQuery and ASP.NET AJAX to build a client side Repeater

  
By sending only data to the client, you can profoundly reduce the size of what you send and see a substantial increase in performance. You also allow yourself the ability to easily add features like light-weight sorting and paging on the client. This can not only improve your users' experience, but reduce server load and bandwidth requirements.

Client Side Gridview Pagination using JQuery

  
I would like to show how to use Client Side Gridview Pagination using Jquery Table Pagination Plugin by using Ryan Zielke.

Use jQuery and ASP.NET AJAX to build a client side Repeater

  
By sending only data to the client, you can profoundly reduce the size of what you send and see a substantial increase in performance. You also allow yourself the ability to easily add features like light-weight sorting and paging on the client. This can not only improve your users' experience, but reduce server load and bandwidth requirements.

To that end, I'm going to walk you through these four steps to effectively implementing a client side Repeater, using ASP.NET AJAX and jQuery:

Practical Multithreading for Client Apps

  
Writing applications that use multiple threads is often considered an advanced programming task, prone to errors. In this month's column, I'll focus on a practical application of multithreading in Windows® Forms applications with some real benefits, while attempting to keep things simple. My goal is to present multithreading in an approachable way that addresses a very common need: writing applications with a user interface that remain responsive to the user.

Use jQuery and ASP.NET AJAX to build a client side Repeater

  
By sending only data to the client, you can profoundly reduce the size of what you send and see a substantial increase in performance. You also allow yourself the ability to easily add features like light-weight sorting and paging on the client. This can not only improve your users' experience, but reduce server load and bandwidth requirements.

Adding Client-Side Confirmation When Deleting

  
The JavaScript confirm(string) function displays its string input parameter as the text inside a modal dialog box that comes equipped with two buttons - OK and Cancel (see Figure 1). The confirm(string) function returns a Boolean value depending on what button is clicked (true, if the user clicks OK, and false if they click Cancel).

want to execute url without showing that page or url to client.

  

hello friends,

I need ur help,what i want to do is to execute a url ("To send a text message to client") on client registration but without showing that url page, in short executing url without displaying any page or url to the client.

please help and thanks in advance.


Client script not running

  

Dear all,

in my MVC 2 application, and in the shared Master Page I wrote this little script for menu handling :

<script src="../../Scripts/jquery-1.4.1.js" type="text/javascript"></script>
<script type="text/javascript"> $(document).ready(function () {   
       
     $('#nav li').hover(  
         function () {  
             //show its submenu  
             $('ul', this).slideDown(100);  
   
         },   
        function () {  
           //hide its submenu  
            $('ul', this).slideUp(100);           
         }  
     );  
       
 });</script>


The script, that shows menu items when the

Problem to obtain client IP on web service

  

Friends,

I'm having problems to obtain the client IP on web service. Here's my scenario:

One server with Windows 2003, hosting the web service using .Net Framework 2.0, with IP 10.0.2.50 and host name ServerTransaction.
Other server with Windows 2003, hosting a web application using .Net Framework 2.0, that consuming the web service on  ServerTransaction, with IP 10.0.2.51 and host name ServerApplication.
Many other computers on the local network (IPs: 10.0.2.80, 10.0.2.81, 10.0.2.82, ...) acessing the web application on ServerApplication.

On the code of the web service I've tried to use HttpContext.Current.Request.UserHostAddress or HttpContext.Current.Request.ServerVariables("REMOTE_ADDR") or HttpContext.Current.Request.ServerVariables("HTTP_X_FORWARDED_FORR"), but always I can only get the IP of ServerApplication (10.0.2.51).

Any idea or tip?


Thanks and sorry for my bad english.


Smart Client: Building Distributed Apps with NHibernate and Rhino Service Bus, Part 2

  

Smart client applications are responsive and promote interactivity with the user. In this article, we continue building a smart client application using NHibernate for data access and Rhino Service Bus for reliable communication with the server.

Oren Eini

MSDN Magazine August 2010


Smart Client: Building Distributed Apps with NHibernate and Rhino Service Bus

  

Smart client applications are responsive and promote interactivity with the user. In this article, we start the processes of planning and building a smart client application using NHibernate for data access and Rhino Service Bus for reliable communication with the server.

Oren Eini

MSDN Magazine July 2010


Data Points: Building An Out-of-Browser Client With Silverlight 3

  

Silverlight 2 applications are restricted to running inside a browser. However, Silverlight 3 applications can run inside the browser or out. Here we build a social networking app as a standalone Silverlight 3 application.

John Papa

MSDN Magazine June 2009


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend