You need to sign in to do that
Don't have an account?
Create an Account Using SOAP API and SoapUI
I am not able to get through this challenge.
I logged in through SOAPUI and used the session id to create an account. The account gets created and returns success. However when I try to validate the challenge in trailhead, it gives me an error -
Challenge Not yet complete... here's what's wrong:
It doesn't appear that you have logged in using SoapUI.
I am not sure what did I miss out.
I logged in through SOAPUI and used the session id to create an account. The account gets created and returns success. However when I try to validate the challenge in trailhead, it gives me an error -
Challenge Not yet complete... here's what's wrong:
It doesn't appear that you have logged in using SoapUI.
I am not sure what did I miss out.
Please consider below points.
1.Please check if you have connected to same DE org or Trailhead playground where you have done your work in the trailhead.To do this click on" launch your hands on org" and select the DE org or trailhead playground where you have your work and then check challenge.
OR
Go to Trailhead Profile -- settings -- make the DE org which you have worked as default then check the challenge.
Trailhead released with new updates. Please refer below link how to take challenges in trailhead.
https://force.desk.com/customer/portal/articles/2643793-trailhead-profile-signup-login-faq?b_id=13478
Hope this helps you!
If this helps you, please mark it as solved.
Thanks and Regards
Sandhya
It doesn't appear that you have logged in using SoapUI." even though I logged in via SOAPUI with success
I have a trouble completing this challenge. Please tell me what's wrong.
Thanks.
Were you able to resolve this? Facing with the same issue. I am able to login and create account, yet Trailhead wouldnt recognize it.
Thanks :)
I have tried all. No luck :(
Could you have a look at my screenshots below and let me know if you see something odd. I am using custom domain btw, but have tried with the normal instance url as well.
Thanks :)
I hope it will help you.
If you are using windows goto - edit this file C:\Program Files\SmartBear\SoapUI-{VERSION}\bin\SoapUI-{VERSION}.vmoptions
and add:
-Dsoapui.https.protocols=SSLv3,TLSv1.2
restart SOAPUI and it should work.
Hi guys,
I also faced the same issue related to 'Require TLS 1.1 or higher for HTTPS connections'. I checked in critical updates but there I don't see this particular option to deactivate.
Adding screenshot of critical updates here.
I am using Salesforce Developer Edition.
I logged in through SOAPUI and used the session id to create an account. The account gets created and returns success. However when I try to validate the challenge in trailhead, it gives me an error -
Kindly assist.
hi..!! Tasnim M. Tailor
Hi tried even that too but it did not work..!!!
Could you suggest anything else
hi.....Brandon Feather 6
you solution worked for me thankx you......
Initially, Trailhead Playground name was there near Launch. When i click Check Challange it didnt work.
Once i change the DE org from my Trailhead Playground and check the challange, IT WORKED.
Thanks Sandhya!!
For TLS realated issues -
'C:\Program Files\SmartBear\SoapUI-5.3.0\bin' .
Thanks,
Satya Jarag
Thanks for the response. I tried your resolution but getting the same result. Still no success.
When I add -Dsoapui.https.protocols=TLSv1.2 onto SoapUI-5.3.0.vmoptions file in SOAP UI installed folder and try to save, it is giving me option to save it in document folder as .txt file and not as .vmoptions file
I have tried this step multiple times, but unable to find resolution to the same.
Here is the screenshot:
I transferred text file onto bin folder and tried to run login command under Soap UI 5.2.1 but getting again TLS 1.0 error. I tried deactivating the TLS 1.0 update from critical update and tried agian but no success.
Regards
Chetan
I think you dont have Admin Rights to access folders. Contact to person who will help you to get Admin permissions to your system.
Once you get that try with same steps again.
Thanks,
Satya
I am the standalone user on my laptop. So, bit confused as to from where I can update settings in order to get Admin Rights to access folders.
Regards
Chetan
I noticed that the full stop is needed on the account description text. It might sound trivial but it helped me :-)
Now we’re all set to make SOAP API requests. Full sail ahead, cap’n!
Log In to Your Trailhead Playground
Then I don't see how to do this:
In SoapUI, scroll down to the login operation.
How do I get to SoapUI? Can anyone attach a screenshot of what that looks like from the Playground screen?
SoapUI is a separate program you have to download. Just google Soap UI and it should be the first result
I know it is an old question, but I cam across the same problem and after I found the problem I thought of putting it here, so that someone else could be benefitted.
The problem is for the challenge when you launch a playground make sure:
You generate the wsdl for the playgorund.
Copy the username from the settings. It will not be same as your email id like abc@gmail.com, it is similar to something like abc@brave-moose-348471.com
Request a new token from the playgorund if you don't already have it.
After you make sure you have completed the above steps follow the tutorial with the login credentials you get from the above steps and then copy the session id generated as a response from this and then the endpoint url for the account -> create is the domain name of your playground for eg: https://brave-moose-348471-dev-ed.my.salesforce.com/services/Soap/c/xx.0 xx is the version no of your api.
I hope this helps!
Could you advice how to do "endpointurl" for the account? I got following error message after request for "Create Account".
"<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sf="urn:fault.enterprise.soap.sforce.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>UNKNOWN_EXCEPTION</faultcode>
<faultstring>UNKNOWN_EXCEPTION: Destination URL not reset. The URL returned from login must be set in the SforceService</faultstring>
<detail>
<sf:UnexpectedErrorFault xsi:type="sf:UnexpectedErrorFault">
<sf:exceptionCode>UNKNOWN_EXCEPTION</sf:exceptionCode>
<sf:exceptionMessage>Destination URL not reset. The URL returned from login must be set in the SforceService</sf:exceptionMessage>
</sf:UnexpectedErrorFault>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>"
Thank you,
May
Could you login and get the session id?
I can log in and get the session id. The challenge I faced is I don't know where to update the change the Endpoint as adviced by the Trailhead module for "Create Account". Finally, figure it out as following.
1. Get the base URL from sites, like http://na##.salesforce.com/services/Soap/c/43.0/
2. I change the http://login.salesforce.com/service/Soap/c/43.0/Packagecode(on the SOAP UI) to http://na##.salesforce.com/services/Soap/c/43.0/ under the Create Request UI window, and it works finally.
Also share as following screen shot, just in case if any other users have similar confusion regarding URL reset for this step.
Thank you,
May Zhou
<urn:LoginScopeHeader>
<urn:organizationId></urn:organizationId>
<!--Optional:-->
</urn:LoginScopeHeader>
from the header.It worked for me!
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="urn:enterprise.soap.sforce.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header>
<LimitInfoHeader>
<limitInfo>
<current>18</current>
<limit>15000</limit>
<type>API REQUESTS</type>
</limitInfo>
</LimitInfoHeader>
</soapenv:Header>
<soapenv:Body>
<createResponse>
<result>
<errors>
<message>La regla de validación SOLO debe aplicarse a los registros de contacto con una cuenta asociada. Los registros de contacto sin una cuenta principal asociada se pueden agregar con cualquier valor de MailingPostalCode.</message>
<statusCode>FIELD_CUSTOM_VALIDATION_EXCEPTION</statusCode>
</errors>
<id xsi:nil="true"/>
<success>false</success>
</result>
</createResponse>
</soapenv:Body>
</soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:VersionMismatch</faultcode>
<faultstring>The SOAP request must use SOAP 1.1, did not recieve a SOAP 1.1 Envelope as the document root</faultstring>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
I can login sucessfully, just cannot get around this error
Any help would be much appreciated
please someone check my code
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:enterprise.soap.sforce.com" xmlns:urn1="urn:sobject.enterprise.soap.sforce.com">
<soapenv:Header>
<urn:SessionHeader>
<urn:sessionId>00D2x000002yvFf!ARYAQIRzVOQMfwTIclLQcjnQ8UEmrEISpX4wceiXQzDe1W7GA3Xznh94Vq0_gIi3cc2eNRPWzH.fXH6XxkGy_t300q9fGhBn</urn:sessionId>
</urn:SessionHeader>
</soapenv:Header>
<soapenv:Body>
<urn:create>
<urn:sObjects xsi:type="urn1:Account" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Name>Bluebeards Grog House</Name>
<Description>It is better than Blackbeards.</Description>
</urn:sObjects>
</urn:create>
</soapenv:Body>
</soapenv:Envelope>
Output window:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="urn:enterprise.soap.sforce.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header>
<LimitInfoHeader>
<limitInfo>
<current>15</current>
<limit>15000</limit>
<type>API REQUESTS</type>
</limitInfo>
</LimitInfoHeader>
</soapenv:Header>
<soapenv:Body>
<createResponse>
<result>
<errors>
<message>Check State</message>
<statusCode>FIELD_CUSTOM_VALIDATION_EXCEPTION</statusCode>
</errors>
<errors>
<message>Check state</message>
<statusCode>FIELD_CUSTOM_VALIDATION_EXCEPTION</statusCode>
</errors>
<id xsi:nil="true"/>
<success>false</success>
</result>
</createResponse>
</soapenv:Body>
</soapenv:Envelope>
I'm stuck in completing this challenge: create an account using SOAP API and SoapUI
After saving wsdl xml file, after entering correct username and password+security token. Im still not getting sessionid. Here is the screenshot
Plz help me with this
Thank you in advance.
Challenge not yet complete in trailhead playground 5
Could not find an account named 'Bluebeards Grog House' created using SoapUI with the Description 'It is better than Blackbeards.'
Can any one let me know what's the problem...i did it properly..
used your username properly ,open playground starter you get it.
write the name and description without commas and fullstop is required.
thank you.
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:enterprise.soap.sforce.com" xmlns:urn1="urn:sobject.enterprise.soap.sforce.com">
<soapenv:Header>
<urn:SessionHeader>
<urn:sessionId>00D4P000000y1Cx!ARIAQLicRIXOUzsiwxX8Bx8bm2fvzuqMDlLpe.NUl6hBW_okQsULZ3NjCwmDfDn.mUK5COUc5e74.Yqs2WlNFuqdAuWqeO9n</urn:sessionId>
</urn:SessionHeader>
</soapenv:Header>
<soapenv:Body>
<urn:create>
<!--Zero or more repetitions:-->
<urn:sObjects xsi:type="urn1:Account" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!--Zero or more repetitions:-->
<Name>Bluebeards Grog House</Name>
<Description>It is better than Blackbeards.</Description>
<urn1:Id></urn1:Id>
</urn:sObjects>
</urn:create>
</soapenv:Body>
</soapenv:Envelope>
Response:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="urn:enterprise.soap.sforce.com">
<soapenv:Header>
<LimitInfoHeader>
<limitInfo>
<current>113</current>
<limit>15000</limit>
<type>API REQUESTS</type>
</limitInfo>
</LimitInfoHeader>
</soapenv:Header>
<soapenv:Body>
<createResponse>
<result>
<id>0024P00003CaiNjQAJ</id>
<success>true</success>
</result>
</createResponse>
</soapenv:Body>
</soapenv:Envelope>