Quantcast
Channel: SCN : Unanswered Discussions - Service-Oriented Architecture (SOA) and SAP
Viewing all articles
Browse latest Browse all 360

How to consume a SAP service

$
0
0

Hello everybody.

 

I need to use an service from SAP, i'm using VB.NET, this Have User and Password, I obtain this message error:

 

Web service processing error; more details in the web service error log on provider side (UTC timestamp 20150206143904; Transaction ID 030FAEE4D227F1DCB523005056873367)

 

This is my code VB.NET:

 

    Dim client As New PMProxy.ZW0088Client("BN_MANI_0028")
    Dim response As ZFmM025Response
    Dim loginCredentials As New System.ServiceModel.Description.ClientCredentials

 

    Dim objetoS As PMProxy.ZFmM025Medicion
    Dim file(0) As PMProxy.ZstmanFileAmc

 

    Dim docFile As New PMProxy.ZstmanFileAmc

 

    loginCredentials.UserName.UserName = "User"
    loginCredentials.UserName.Password = "Password"

 

    client.Endpoint.Behaviors.Remove(GetType(System.ServiceModel.Description.ClientCredentials))
    client.Endpoint.Behaviors.Add(loginCredentials)

 

    docFile.Zkey = "AB"
    docFile.Zcode = "O1"
    docFile.ZText = "T51"
    file(0) = docFile

 

    objetoS = New PMProxy.ZFmMangl0022DocMedicion
    objetoS.PiAnula = strAnula
    objetoS.PtFileAmc = file

 

    'here the error
    response = client.ZFmM025(objetoS)

 

 

 

 

 

Please, any help will be grateful.

Regards!.


Viewing all articles
Browse latest Browse all 360

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>