【问题标题】:How to get the output from the sap soap wsdl from wsclient++ in android如何从android中的wsclient ++获取sap soap wsdl的输出
【发布时间】:2012-02-29 05:52:09
【问题描述】:

使用 wsclient++,生成文件供 wsdl 从 Web 服务调用。在我的 Android 项目中添加了生成的文件。然后在如何编写代码以及如何生成步骤之后。但我不明白如何调用在android中获取输出的确切方法。可以简要地帮助我吗

【问题讨论】:

    标签: android soap sap windows-client


    【解决方案1】:

    我在 IOS 中使用它。可能这段代码可以帮助你一点。

    mPayMobilePayment *mpayMobilePayment =[mPayMobilePayment service];
    

    //mPayMobilePayment为服务名,调用getService方法同理。

    [mpayMobilePayment setBaseUrl:@"Enter your complete base url, you can get this url easily from soapUI tool as well"];
    
    NSError *error;
    NSArray *response = [mpayMobilePayment getSubscribedEntityServices:@"firt input value of method. input values will be auto generated" entityId:@"second input value of method" error:&error];
    

    getSubscribedEntityServices" 是我在服务中的方法名称,此方法由 WSClient 自动生成。

    我编写的每个代码都是由 wsclient 在其文件中自动生成的。我只是复制了我项目中的文件并以上述方式调用它们。

    希望对你有所帮助。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-08-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多