Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Urgent: WSDL problem with SAP R/3

Urgent: WSDL problem with SAP R/3

Scheduled Pinned Locked Moved Visual Basic
wcfcsharpdebuggingxml
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    Orkun GEDiK
    wrote on last edited by
    #1

    Howdy my friends! I have been developing Pocket PC solution for SAP R/3. But, I faced a problem with web service on VB.NET 2003. My problem is, return parameters are set to "nothing", when I try to invoke web method from VB.NET. Actually, the SOAP response message recieves by client without a problem. I can see the response SOAP message by MS SOAP Trace tool. But Invoke method cannot parse it anyway. As a result i can't get any return value. What's lying behind of it? My sample code as below; ' Set RFC parameters Dim strPrm1 As String Dim strPrm2 As String ' Set URL Dim sURL As String sURL = "http://ybpent:8000/sap/bc/soap/rfc?sap-client=274" ' Set credentials Dim m_Credentials As ICredentials m_Credentials = New NetworkCredential("xxxxx", "xxxxx") ' Set web service Dim m_RfcClientInfoYBT As New dNETSOAP4SAPR3.RfcClientInfoYBT.RFC_CLIENT_INFOService m_RfcClientInfoYBT.Url = sURL m_RfcClientInfoYBT.Credentials = m_Credentials ' Call web service m_RfcClientInfoYBT.RFC_CLIENT_INFO(strPrm1, strPrm2) Proxy method as below; ' _ Public Function RFC_CLIENT_INFO( ByRef HOSTNAME As String, ByRef SYSID As String) As String Dim results() As Object = Me.Invoke("RFC_CLIENT_INFO", New Object(-1) {}) HOSTNAME = CType(results(1), String) SYSID = CType(results(2), String) Return CType(results(0), String) End Function Anybody has an idea about it? Thanks. Orkun GEDiK

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups