
Ergebnis 1 bis 3 von 3
-
Bin neu hier
- 18.04.2012, 17:48
- #1
Hey,
ich versuche verzweifelt folgende wsdl zum laufen zu kriegen:
https://www.paypalobjects.com/wsdl/PayPalSvc.wsdl
Des ist der Quellcode:
Code:PPAPI.PayPalAPIInterfaceClient Client = new PPAPI.PayPalAPIInterfaceClient("PayPalAPI", "https://api.sandbox.paypal.com/2.0/"); PPAPI.CustomSecurityHeaderType Credentials = new PPAPI.CustomSecurityHeaderType(); Credentials.Credentials = new PPAPI.UserIdPasswordType(); Credentials.Credentials.AppId = "APIID"; Credentials.Credentials.Username = "SellMe"; Credentials.Credentials.Password = "123456"; using (OperationContextScope scope = new OperationContextScope(Client.InnerChannel)) { MessageHeader header = MessageHeader.CreateHeader("CustomSecurityHeaderType", "http://tempuri.org/", Credentials); OperationContext.Current.OutgoingMessageHeaders.Add(header); } Aus ner Windows Forms Anwendung herraus funktioniert alles tutti, aus WP7 raus gibts immer nur nen Timeout. Bindings scheinen zu stimmen, habs einfach über "Dienstverweis hinzufügen" gemacht. Client.GetBalanceCompleted += new EventHandler<PPAPI.GetBalanceCompletedEventArgs>(Client_GetBalanceCompleted); Client.GetBalanceAsync(new PPAPI.GetBalanceReq() { GetBalanceRequest = new PPAPI.GetBalanceRequestType() { Version = "85,5" } });
-
Gehöre zum Inventar
- 19.04.2012, 08:07
- #2
Schau dir mal den Thread hier an, das sollte dir weiterhelfen: WSDL-Webservice in Windows Phone App
-
Bin neu hier
- 19.04.2012, 10:43
- #3
Schon gelesen aber das löst das Problem nicht so wirklich,
hat schon grad wer geschrieben...liegt wohl am HTTPS
Ähnliche Themen
-
GPS Qualität API
Von schiefersoft im Forum Windows Phone 7 EntwicklungAntworten: 1Letzter Beitrag: 03.02.2011, 21:03 -
XML APi
Von Aktivhoernchen im Forum Windows Phone 7 AppsAntworten: 11Letzter Beitrag: 28.12.2010, 10:38 -
Probleme mit Diamonds Cube (HTC-API.dll)
Von butzelbovat im Forum Touch HD FunAntworten: 4Letzter Beitrag: 14.05.2009, 07:03 -
SIP/sipgate API
Von kimnotyze im Forum ProgrammierenAntworten: 1Letzter Beitrag: 22.02.2008, 04:39 -
WLAN-Probleme mit 6340 und Probleme mit PDF-Reader von Adobe
Von pbonderer im Forum HP Forum (PPC)Antworten: 1Letzter Beitrag: 07.08.2005, 15:44
Pixel 10 Serie mit Problemen:...