cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to Pass Data through the SOAP Request for an exposed Process.

MARUTHI_MANOJMA
Level 3
I have exposed a Process through webAPI in BP and I'm getting the below response when passing data in the soap request.


17012.png


------------------------------
MARUTHI MANOJ MADHAVAPEDDY
------------------------------
1 BEST ANSWER

Best Answers

When you start a new project in SOAP UI check the option "Create sample requests for all operations?" like true
16991.png
This will automatically create all existing entries in the process.
16992.png
So you put the Basic authentication, pass the username and password (Domain if applicable) and test, this works well for me

------------------------------
Emerson Ferreira
Sr Business Analyst
Avanade Brasil
+55 (081) 98886-9544
If my answer helped you? Mark as useful!
------------------------------
Sr Cons at Avanade Brazil

View answer in original post

8 REPLIES 8

EmersonF
MVP
Hi, let me know the full error message! this will help us to identify the possible problem.

------------------------------
Emerson Ferreira
Sr Business Analyst
Avanade Brasil
+55 (081) 98886-9544
If my answer helped you? Mark as useful!
------------------------------
Sr Cons at Avanade Brazil

16985.png

------------------------------
MARUTHI MANOJ MADHAVAPEDDY
------------------------------

Iam able to get the response defined in the End Shape of the process. When sending the request with some parameters I'm getting the above response and is not triggering the automation.

------------------------------
MARUTHI MANOJ MADHAVAPEDDY
------------------------------

EmersonF
MVP

try to pass " <BlueprismExcelAutomation xsi:type="xsd:decimal">22</BlueprismExcelAutomation> " instead " <Number xsi:type="xsd:decimal">22</Number> 

It asks me for the name of the Process in the input question:
My request looked like this:

<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:blueprism:webservice:testing">
   <soapenv:Header/>
   <soapenv:Body>
      <urn:Testing soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <Testing xsi:type="xsd:decimal">22</Testing>
      </urn:Testing>
   </soapenv:Body>
</soapenv:Envelope>

Where Testing is my process name



------------------------------
Emerson Ferreira
Sr Business Analyst
Avanade Brasil
+55 (081) 98886-9544
If my answer helped you? Mark as useful!
------------------------------
Sr Cons at Avanade Brazil

tried and still the same, If we need to send multiple inputs, how is this gonna work ?

------------------------------
MARUTHI MANOJ MADHAVAPEDDY
------------------------------

When you start a new project in SOAP UI check the option "Create sample requests for all operations?" like true
16991.png
This will automatically create all existing entries in the process.
16992.png
So you put the Basic authentication, pass the username and password (Domain if applicable) and test, this works well for me

------------------------------
Emerson Ferreira
Sr Business Analyst
Avanade Brasil
+55 (081) 98886-9544
If my answer helped you? Mark as useful!
------------------------------
Sr Cons at Avanade Brazil

It worked. Thanks a lot.

------------------------------
MARUTHI MANOJ MADHAVAPEDDY
------------------------------

Happy to be able to help you!

------------------------------
Emerson Ferreira
Sr Analista de Negócios
Avanade Brasil
+55 (081) 98886-9544
Se minha resposta ajudou você ? Marque como útil!
------------------------------
-------------------- -----------------------
Mensagem Original:
Enviado: 06-06-2021 17:41
De: MARUTHI MANOJ MADHAVAPEDDY
Assunto: Impossível Passar Dados pelo SOAP Solicitação de um processo exposto.

Funcionou. Muito obrigado.

------------------------------
MARUTHI MANOJ MADHAVAPEDDY
----------------- -------------

Mensagem Original:
Enviado: 06-06-2021 17:33
De: Emerson Ferreira
Assunto: Incapaz de transmitir dados por meio da solicitação SOAP para um processo exposto.

Ao iniciar um novo projeto na IU SOAP, marque a opção "Criar solicitações de amostra para todas as operações?" como true
17003.png
Isso criará automaticamente todas as entradas existentes no processo.
17004.png
Então você coloca a autenticação Básica, passa o nome de usuário e senha (Domínio se aplicável) e teste, funciona bem para mim

------------------------- -----
Emerson Ferreira
Sr Analista de Negócios
Avanade Brasil
+55 (081) 98886-9544
Se minha resposta ajudou você? Marque como útil!

Mensagem Original:
Enviado: 06-06-2021 17:25
De: MARUTHI MANOJ MADHAVAPEDDY
Assunto: Incapaz de Passar Dados através da Solicitação SOAP para um Processo exposto.

tentei e ainda o mesmo, se precisarmos enviar várias entradas, como isso vai funcionar?

------------------------------
MARUTHI MANOJ MADHAVAPEDDY

Mensagem Original:
Enviado: 06-06-2021 17:15
De: Emerson Ferreira
Assunto: Incapaz de transmitir dados por meio da solicitação SOAP para um processo exposto.

tente passar " <BlueprismExcelAutomation xsi:type="xsd:decimal">22</BlueprismExcelAutomation>" em vez disso. Ele me pede o nome do Processo na pergunta de entrada: Minha solicitação era assim:<Number xsi:type="xsd:decimal">22</Number> 


< soapenv: Envelope  xmlns: xsi = " http://www.w3.org/2001/XMLSchema-instance "  xmlns: xsd = " http://www.w3.org/2001/XMLSchema "  xmlns: soapenv = " http : //schemas.xmlsoap.org/soap/envelope/ "  xmlns: urn = " urn: blueprism: webservice: testing " >    < soapenv: Header />    < soapenv: Body >       < urn: Testing  soapenv: encoding Style ="http: //schemas.xmlsoap.org/soap/encoding/ " >          < Testing  xsi: type = " xsd: decimal " >22 </ Testing>       </ urn: Testing>    </ soapenv: Body> </ soapenv: Envelope>

Onde Testing é o nome do meu processo



------------------------------
Emerson Ferreira
Sr Analista de Negócios
Avanade Brasil
+55 (081) 98886-9544
Se minha resposta ajudou você ? Marque como útil!

Mensagem Original:
Enviado: 06-06-2021 09:21
De: MARUTHI MANOJ MADHAVAPEDDY
Assunto: Impossível Passar Dados pela Solicitação SOAP para um Processo exposto.

Eu expus um processo por meio da webAPI no BP e estou recebendo a resposta abaixo ao passar dados na solicitação de sabão.


17005.png


------------------------------
MARUTHI MANOJ MADHAVAPEDDY
----------------- -------------
Sr Cons at Avanade Brazil