Click here to Skip to main content
12,505,902 members (47,509 online)
   

ASP.NET

 
QuestionConnecting to IBM's natural language web service from vb.net Pin
indian1439-Oct-12 15:48
memberindian1439-Oct-12 15:48 
Hi All,

I have web service that is developped using mainframe's natural language and wsdl created using some java's web server. I got the wsdl and using SOAP UI I have created a proxy .net class to add it in my application.
The proxy is connecting and getting the data, but after calling it for 2 or 3 times application is becoming too slow. It was not happening when I was not using the mainframe webservice proxy.

I am not understanding what is the reason and what's the cause for the slow. Do I have to close the connection and dispose the proxy object, I am not understanding. Please help me by giving some ideas or code snippets.
I am putting my code below

Proxy class constructor:
    Public Sub New()
        MyBase.New
        'Me.Url = "http://localhost:7800/************V1WSDLSOAP_HTTP_Service"
        Me.Url = "http://************EAI20:7810/EmployerAddress"
    End Sub
 
And I am calling the proxy in the following way
listDOAccountStandards=AccountStandardObjectAdapter.GetAccountStandard(empl_accnt_no)
 
And I am not closing or disposing the proxy class any where (assuming that if once the scope of the execution finishes .net runtimes automatically frees the memory. As the proxy is managed code component)
 
Please help me by giving any kind of help.
Thanks & Regards,

Abdul Aleem Mohammad
St Louis MO - USA

AnswerRe: Connecting to IBM's natural language web service from vb.net Pin
jkirkerx9-Oct-12 17:25
memberjkirkerx9-Oct-12 17:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.160927.1 | Last Updated 27 Sep 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid