Ask a Question related to ASP.NET Web Services, Design and Development.

  1. #1

    Default Webservices

    Hello everybody,

    I am unable to call remote web service.

    I have created Proxy Class successfully.

    Whenever I tried to call it prompts with error

    "System.Net.WebException: The underlying connection was closed: The remote
    name could not be resolved."

    Please help me on this issue

    Thanks
    Partha


    Partha Protim Roy Guest

  2. Similar Questions and Discussions

    1. .net webservices
      Actually, if you give your dataset a name: DataSet ds = new DataSet("MyDataSet"); then you should use: ...
    2. ADO.NET and Webservices
      Hello, I'm trying to build a webservices 'application' that basically allows any sort of client to plug-in and do do updates to the database...
    3. 1 or more webservices
      Hi I want to make a webservice which retrieves data for a webpart in a sharepoint environment. Is it handier to make 1 large webservice or a few...
    4. webservices and com+
      hi i have created a webservice that has methods like getitems and so on that get data from the db. and am calling it from asp.net i want...
    5. SOS! I can't use COM in my webservices
      i write a COM use PB9. The COM work well in a Windows Application(use in VS2003.net) But when i use it in a webservices, the COM can not work,the...
  3. #2

    Default webservices

    a
    mohsen Guest

  4. #3

    Default WebServices

    Hi, This is the part of the webservice i am working on. <cfargument
    name='wsdl_key' required='true' type='string'> it produces the following when
    viewed the above CFC <wsdl:part name='wsdl_key' type='xsd:string'/>
    Wondering how i can add the minOccurs='0' maxOccurs='1' to the <cfargument>
    tag. I am using CFMX 6.1 Please help Thanks -Raaga

    Raaga Guest

  5. #4

    Default Re: WebServices

    You really can't do that with ColdFusion. The "right" thing would be for
    that to happen when the required="NO" attribute was set on the argument, but
    we don't support optional argument to web service functions in CFML (yet).

    We know this is a limitation, but it didn't make it in to CFMX 7. :-)

    --
    Tom Jordahl
    Macromedia Server Development


    Tom Jordahl Guest

  6. #5

    Default Webservices

    I have a problem I newer saw before with invoking CF webservices. I have
    webService for search within my DB, and also I have testing Invoke page. When
    I am invoking webService as a CFC component everything is working fine. When I
    am browsing my webservice in the browser XML is looking fine to (IE
    [url]http://localhost:85/search.cfc?wsdl[/url]). One more thing when I am invoking
    webservice trough browser it is working fine, result is showing (IE
    [url]http://localhost:85/search.cfc?wsdl&amp;method=search&amp;input=blabla[/url]). This
    is the error which I am seeing when I am invoking webservice with test cfm
    page: Does anybody had this before, any help is greatly appreciated, Thanks


    Could not generate stub objects for web service invocation.
    Name: [url]http://localhost:85/webservices/search.cfc?wsdl[/url]. WSDL:
    [url]http://localhost:85/webservices/search.cfc?wsdl[/url]. org.xml.sax.SAXException:
    Fatal Error: URI=null Line=1: Next character must be ">" terminating comment .
    It is recommended that you use a web browser to retrieve and examine the
    requested WSDL document for correctness. If the requested WSDL document can't
    be retrieved or it is dynamically generated, it is likely that the target web
    service has programming errors.

    Buda123 Guest

  7. #6

    Default Re: Webservices

    Do a 'view source' on the WSDL in the browser.
    There is something not right about the WSDL XML.

    --
    Tom Jordahl
    Macromedia Server Development


    Tom Jordahl Guest

  8. #7

    Default webservices

    I have a very basic question:

    When we say that I am writing my web service what I do?
    I tried to study the samples and the structure the flex-config.xml and
    server-config.wsdd files sorted down the following point.

    Please some one cross examines them and tells me if I am on the correct path:

    1) Make an entry in the flex-config.xml (which is in WEB-INF/flex floder )
    under

    < web-service-proxy>

    <whitelist>

    <named>

    <service name="serviceNameWS">

    <wsdl>{context.root}/services/
    serviceNameWS?wsdl</wsdl>

    <! ? detailed tag of service -- >

    </service>


    Does the <wsdl > gives the path for the webservice?s location ?


    2) Also make and entry in the server-config.wsdd file which is on the root at
    WEB-INF under

    <service name=" serviceNameWS " provider="java:RPC">

    <parameter name="methodName" value="*"/>

    <parameter name="className"
    value="classpath"/>

    <beanMapping
    languageSpecificType="java:classpath" qname="ns4: serviceName"
    mlns:ns4="http://www.macromedia.com/samples"/>

    </service>

    Does :ns4=http://www.macromedia.com/samples > this part is necessary and
    what does it do ?


    3) write a java class in classes folder .. I saw all the classes are
    in the ?samples? folder inside the ?classes? folder (why ? I mean is it related
    to :ns4=http://www.macromedia.com/samples ? )


    thanks in advance !
    Mayur


    Mayur Bais Guest

  9. #8

    Default Re: webservices

    i also noticed that when i change and make one more entry in the
    server-config.wsdd file its getting reload and the tags are getting arranged in
    the alphabetical order of the service name and xmlnx :ns"N" is getting change
    according to order

    i can see the changes listed in the cmd of the flex integrated server ...

    any ideas what is this happening and why?

    Mayur Bais Guest

  10. #9

    Default Re: webservices

    What version?
    ntsiii Guest

  11. #10

    Default Re: webservices

    If 1.5, see this example. Be careful not to over complicate this task.
    Tracy
    [url]http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&object ID=18[/url]
    ntsiii Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

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 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139