on 10-07-2008 2:31 PM
Hi,
I'm using B1WS and I'd like to add a Service Call.
What can I do? I don't have found the ServiceCall object for the DI Server.
Help me,
thank you
Marco
Marco,
The DI Server provides the same objects as the DI API to you. Where the "Services" do not supply to you a ServiceCalls service, you can use the ServiceCalls object that is available via the DI API. While this is not a "service" like the Business Partner Service I think that using the available object for Service Calls should help you.
Eddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Macro,
You are right. From the functionality point of view, the relationship of DI, DI Server and B1WS: DI > DI Server > B1WS
B1WS is built on top of DI Server, only for those services available in DI Server.
DI Server has no equilent Company.GetNewObjectCode, Meta data object, free transaction management in DI.
As you mentioned, DI Server has the advantage in connection session pooling, DI-License Server etc.
But with DI Server you still can create server call. Thanks.
Kind Regards
-Yatsea
Yes, you can, not typo error:
1.you can get the xml schema for Service Call with request:
<?xml version="1.0" encoding="UTF-16"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header>
<SessionID>32D83BB6-F3AD-985F-D4BC-655B3D9ACBE2</SessionID>
</env:Header>
<env:Body>
<dis:GetBusinessObjectXmlSchema xmlns:dis="http://www.sap.com/SBO/DIS">
<Object>oServiceCalls</Object>
</dis:GetBusinessObjectXmlSchema>
</env:Body>
</env:Envelope>
or you can get it from in DI
oSerCall.GetByKey()
oSerCall.SaveAsXml()
2.You can call GetByKey for ServiceCall with
<?xml version="1.0"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header>
<SessionID>4</SessionID>
</env:Header>
<env:Body>
<dis:GetByKey xmlns:dis="http://www.sap.com/SBO/DIS">
<Object>oServiceCalls</Object>
<ServiceCallID>1</ServiceCallID>
</dis:GetByKey>
</env:Body>
</env:Envelope>
3.You also can add, update, delete with same function ServiceCall object in DI.
just pass the Service Call XML
<?xml version="1.0" encoding="UTF-16"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header>
<SessionID>F46EDCE6-3F79-1F9F-1D1E-DC6226D04FA7</SessionID>
</env:Header>
<env:Body>
<dis:AddObject xmlns:dis="http://www.sap.com/SBO/DIS" CommandID="Add BP">
<!--please for the service call xml here you want to add-->
</dis:AddObject>
</env:Body>
</env:Envelope>
please go to sdk help search "AddObject" , "UpdateObject" "RemoveObject" for further info. Thanks
Kind Regards
-Yatsea
Hello,
Sorry to tell you that Service Call service is not available in B1WS. The offered services in B1WS list below:
AccountCategoryService
uF071 AccountsService
uF071 AlertManagementService
uF071 AlternativeItemsService
uF071 ApprovalStagesService
uF071 ApprovalTemplatesService
uF071 BankStatementsService
uF071 BusinessPartnersService
uF071 CompanyService
uF071 CorrectionInvoiceReversalService
uF071 CorrectionInvoiceService
uF071 CorrectionPurchaseInvoiceReversalService
uF071 CorrectionPurchaseInvoiceService
uF071 CreditNotesService
uF071 DeliveryNotesService
uF071 DownPaymentsService
uF071 DraftsService
uF071 FormPreferencesService
uF071 InventoryGenEntryService
uF071 InventoryGenExitService
uF071 IncomingPaymentsService
uF071 InvoicesService
uF071 ItemsService
uF071 MessagesService
uF071 OrdersService
uF071 PurchaseCreditNotesService
uF071 PurchaseDeliveryNotesService
uF071 PurchaseDownPaymentsService
uF071 PurchaseInvoicesService
uF071 PurchaseReturnsService
uF071 PaymentDraftsService
uF071 ProductionOrdersService
uF071 ProductTreesService
uF071 ProjectsService
uF071 QuotationsService
uF071 ReportFilterService
uF071 ReportLayoutsService
uF071 ReturnsService
uF071 SeriesService
uF071 SpecialPricesService
uF071 StockTransferService
uF071 UserMenuService
uF071 VendorPaymentsService
uF071 WizardPaymentMethodsService
Kind Regards
-Yatsea
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Marco,
Take a better look at the sdk help file. In this file you can find more info about the di-server.
search for: "Get Service Call XML Schema"
Regards Teun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Teun,
I have see the GetServiceCallInputXMLSchema, but I don't think that is the object that I'm searching for.
I'd like to find an object like BusinessPartnersService, on wich I can add BP,BPAdress, etc..using DI Server.
Now I want to add a Service Call, but I don't have found the object.
If you know how can I use GetServiceCallInputXMLSchema to Add a service call, every idea is good for me!
Regards
Marco
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.