Jump to content

Recommended Posts

Posted
Hello Brothers
 
Naku oka chinna issue undi  , .net webservices part ippativaraku pani cheyale ..i have a web method  which will make webservice calls using another webservice
first i have added that webservice in my project itself aithe maa manager vachi u have to add that in seperate project which has all webservices, and add that as a service reference to here annadu
 
i did as he said, but i am having a issue while converting it aa webservice ki nenu add chesina webmethod is something like this
 
<webmethod()>
public function SendWebService (ByVal Ord_Header As OrdHeader, ByVal NumberLines As Integer) As String
 
end function
 
Ee project lo ne another class is there which OrdHeader which has like 20 fields
something like this 
 
public class OrdHeader
 Public a as string 
:
:
Public z as String
End
 
 I have added service reference of this webservice to my project
now i am trying to pass this Ord_header i am getting error
Dim Client As WebService.OrderingSoapClient = New WebService.OrderingSoapClient
            Client.SendWebService (obOrdHeader, NumberLines.ToString())
value of type obOrdHeader cannot be converted into WebService.OrdHeader
Serialization attribute kuda add chesa still not working, evarana telsite help cheyandi bro plz
Posted

Imka vb.net enti..csharp ki konvert ayipoo..jai jagan

×
×
  • Create New...