Hi Met,
When we use collection in WS, your labels would be the fields and field values would be the row in collection, in your case(i took some code from the site u shared),
i think your Input collection should have 1 field called as JournalEntry of type Collection, this collection would 4 fields, OriginalReferenceDocumentType orf type text, BusinessTransactionType oftype text, item of type collection and CreditorItem of type collection, each text field would have its value like BKPF and RFBU, and each collection will again have 1 row for respective fields. This sounds very confusion but i think this is how you need to implement, or i would say since you have successfully ran this using POSTMAN simply use the same body and utilize the HTTP object, HTTP request.
<JournalEntry>
<OriginalReferenceDocumentType>BKPFF</OriginalReferenceDocumentType>
<BusinessTransactionType>RFBU</BusinessTransactionType>
<Item>
<ReferenceDocumentItem>1</ReferenceDocumentItem>
</Item>
<CreditorItem>
<ReferenceDocumentItem>2</ReferenceDocumentItem>
</CreditorItem>
</JournalEntry>
------------------------------
Ishan Mahajan
India
------------------------------
Original Message:
Sent: 11-24-2020 08:28
From: Met Vonghiran
Subject: SOAP WebService error
Hi,
I'm trying to consume SAP HANA Cloud "Journal Entry - Post (Synchronous)"
I was able to import the WSDL with Blue Prism SOAP Web Service feature, however I'm struggling on how to make the input work in a collection format.
https://help.sap.com/viewer/b978f98fc5884ff2aeb10c8fdeb8a43b/2011.500/en-US/92fed0579212c525e10000000a4450e5.html
Any Input would be highly appreciated
------------------------------
Met Vonghiran
Consultant
Deloitte
Asia/Tokyo
Original Message:
Sent: 11-23-2020 08:07
From: Ishan Mahajan
Subject: SOAP WebService error
It might be possible Blue prism's SOAP Web Service Wizard does not support this but you can still utilize SOAP services using HTTP object.
Try to import that WSDL into SOAPUI tool or try to call WebService using Postman tool, and you can do same in Blueprism.
------------------------------
Ishan Mahajan
India
Original Message:
Sent: 11-19-2020 05:54
From: N M
Subject: SOAP WebService error
I'm trying to use the SOAP Web Services wizard to open a wsdl I have stored on my local drive.
It is able to open one service then I get the message:
Only Soap bindings are supported at this time, this web service does not have any soap bindings
Looking in the xml I see the following:
<soap12:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
Does this mean this wsdl is not currently supported by Blue Prism as indicated above?
Original Message:
Sent: 05-19-2020 11:30
From: Ishan Mahajan
Subject: SOAP WebService error
it might be possible, some services does not require authentication.
------------------------------
Ishan Mahajan
India
Original Message:
Sent: 05-19-2020 09:46
From: Ayyoub Benoudina
Subject: SOAP WebService error
Hi Ishan
Thank you so much for your time and help, it i very kind from you.
I will consider all the points that you gave me.
one more question:
The client could test the request with soap ui without providing a username and password in the request and he got the value "ID" back.
he also sent me the request form with a header which contains only "to" and "action:....getID" and there were no credentials in there.
Does it mean that this service doen't require credentials? or it is not necessary?
------------------------------
Ayyoub Benoudina
Analyst-Sol Development
Herr
Europe/Brussels
Original Message:
Sent: 05-19-2020 07:24
From: Ishan Mahajan
Subject: SOAP WebService error
Hi Ayyoub,
i tried to answer your questions, please see below,
1. In soap Web services the method should always be "Post" right? - No, depending upon your requirement it would change, if you want to read something from application you will have to utilize Get, if you want to Create or Update something you may have to use POST or PUT. please refer more here https://www.w3schools.com/tags/ref_httpmethods.asp
2. the Address URL here will be the basic URL or the one with wsdl - No, this would be Endpoint URL, it is not like https://swea.riksbank.se/sweaWS/wsdl/sweaWS.wsdl
3. is it normal that I can't see headers in the form WSDL? - Yes, identifying Header, URL and method name is bit difficult but you have tools to do that, download Wizdler Chrome extension, that will help you to get Required parameters.
4. for the body: I have to copy paste the entire envelop or the body only? - Entire envelope
5. could you please tell me where I can find Username and Password (for http request inputs) - That is something your applcation owner would be able to provide you, in WSDL you can only see how to authenticate user, it will not have actual values of username and password, in many cases application credential and WebService credential can be same, if you have access to application(via User interface) try those credential to authenticate your self.
------------------------------
Ishan Mahajan
India
Original Message:
Sent: 05-19-2020 06:59
From: Ayyoub Benoudina
Subject: SOAP WebService error
Hi Ishan
I'm really thankfull for your help and the document, however please allow me to ask you some extra questions since I don't have experience with Web services.
1. In soap Web services the method should always be "Post" right?
2. the Address URL here will be the basic url or the one with wsdl
3. is it normal that I can't see headers in the form WSDL?
4. for the body: I have to copy paste the entire envelop or the body only?
5. could you please tell me where I can find Username and Password (for http request inputs)
Thanks again and best regards,
Ayyoub
------------------------------
Ayyoub Benoudina
Analyst-Sol Development
Herr
Europe/Brussels
Original Message:
Sent: 05-19-2020 06:38
From: Ishan Mahajan
Subject: SOAP WebService error
Can you refer the attached document and see if that helps you ?
Basically i want to understand what errors you are facing while you are trying to run the WS from BP HTTP object ?
Are you able to run them using Postman/SOAP UI ?
what is the application name like Salesforce, Google or some internal application ?
best way to consume a service in BP would be first check them using a third party tool then replicate same in Blueprism.
------------------------------
Ishan Mahajan
India
Original Message:
Sent: 05-18-2020 15:18
From: Ayyoub Benoudina
Subject: SOAP WebService error
I'm trying to consume Soap12 which is not supported by Blue prism.
I really appreciate your help
thanks
Ayyoub
------------------------------
Ayyoub Benoudina
Analyst-Sol Development
Herr
Europe/Brussels
Original Message:
Sent: 05-18-2020 15:17
From: Ishan Mahajan
Subject: SOAP WebService error
Hi Ayyoub,
Which WebSerive you are trying to utilize ? may be if you can provide more details of your issue i can help.
------------------------------
Ishan Mahajan
India
Original Message:
Sent: 05-18-2020 12:03
From: Ayyoub Benoudina
Subject: SOAP WebService error
Hi Ishan
Could you please share some instructions or guide about how to do it?
thanks in advance.
Best regards,
Ayyoub
------------------------------
Ayyoub Benoudina
Analyst-Sol Development
Herr
Europe/Brussels
Original Message:
Sent: 03-04-2020 12:48
From: Ishan Mahajan
Subject: SOAP WebService error
Have you guys tried utilizing HTTP VBO ? in one of the we were not able to utilize the Webservice future of BP but HTTP object worked fine, the only thing is, it will not show you available method as an action so you need to configure it manually and use it.
Try that it works !
------------------------------
Ishan Mahajan
India
Original Message:
Sent: 02-24-2020 07:50
From: Deepak BV
Subject: SOAP WebService error
Hi Michal,
Did you figure out any workaround for this problem, could you please share with us.
Thanks
------------------------------
Deepak BV
Original Message:
Sent: 07-11-2019 03:30
From: Michal Kowalczyk
Subject: SOAP WebService error
Thanks Karan, I did contact the support like you suggested.
Apparently Blue Prism does not yet support SOAP 1.2 bindings if there is only 1.2 binding in the web service.
Hopefully it will change with future releases.
------------------------------
Michal Kowalczyk
RPA Developer
Digital Workforce
Europe/Warsaw
Original Message:
Sent: 07-09-2019 00:19
From: Karan Sareen
Subject: SOAP WebService error
It could be possible due to the following reasons:
- The WSDL document contains links that could not be resolved.
- It contains some links for which the user doesn't have access to.
I would suggest you create a support ticket with Blue Prism Global Customer Support team (support@blueprism.com) so that this issue can be investigated thoroughly.
------------------------------
Karan Sareen
Solution Support Engineer
Blueprism
Australia/Sydney
Original Message:
Sent: 07-08-2019 02:24
From: Michal Kowalczyk
Subject: SOAP WebService error
Hi everyone,
I'm having problems with adding a 3rd party webservice to BP. Apparently there are parts in the webservice that BP can't digest. However, when running the webservice on another software (SOAP UI) it seems to work just fine. Here's the link to the api:
https://swea.riksbank.se/sweaWS/wsdl/sweaWS.wsdl
And here's the error thrown by BP (6.5):
'Could not understand the web service described at https://swea.riksbank.se/sweaWS/wsdl/sweaWS.wsdl - please make sure the url you provided refers to a valid WSDL document
Object reference not set to an instance of an object.'
The question is what might be wrong with the api? Is this encoding, or some unsupported data types? Or could it be something completely different?
Thanks in advance for any input
------------------------------
Michal Kowalczyk
RPA Developer
Digital Workforce
Europe/Warsaw
------------------------------