Field Service

Get Involved. Join the Conversation.

Comments

  • Hardik Gupta

    Hi Saurabh,

    If you want the exact request you need to raise and SR to get the request sent from OFSC using outbound. They will check the logs and send you the request

    Regards,

    Hardik Gupta

  • Jeffry Husman

    Hi Hardik,

     

    Can you elaborate more on your explanation "Using Message scenario" functionality. Any examples? 

    Thanks

    Jeff

     

  • Hardik Gupta

    Hi Rohan,

    If you are able to parse XML/REST requests you can do it on Siebel itself. Middle ware is not an absolute requirement. You need to just have a service exposed that can accept the outbound messages. Instead of domain name give the IP address. It works.

    Regards,

    Hardik Gupta

  • Hardik Gupta

    Hi Saurabh,

    Below is the wsdl link

    https://api.etadirect.com/soap/inbound/?wsdl

    Regards,

    Hardik Gupta

  • saurabh suman

    Hi Hardik

    Will it be possible for you to share ur wsdl with me or let me know from where can i get the wsdl for inbound sdk..i believe u r ryt i went through your doc link...

    Regards

    saurabh suman

  • Hardik Gupta

    Hi Saurabh,

    Let me know what is the error you are receiving.

    I have successfully done this with the above request.

    Please refer the docs http://docs.oracle.com/cloud/latest/fieldservicecs_gs/FAISD/FAISD.pdf

    The <properties> structure is what I said.

    <properties>

    <property></property>

    <property></property>

    </properties>

    It is clearly mentioned in the Inbound SDK doc

    Also the wsdl structure of Inbound complies with my structure that I have shared.

    Regards,

    Hardik Gupta

  • saurabh suman

    Hi Hardik

    The xml structre that is sent you is built when i created the request from wsdl. However i tried to build xml using ur structre but it did not work.

    seems it works like <properties></properties>

    <properties></properties>

    ...

    back to square one..btw it is working for u in soap

  • Hardik Gupta

    Hi Saurabh,

    For testing I suggest you work with bare minimum tags.

    Get an initial first Response right and then work your way with more complex structures.

    Sample <head> and <data> snippet.

    <head xmlns="">
                   <processing_mode>appointment_only</processing_mode>
        <upload_type>incremental</upload_type>
        <appointment>
        <keys>
        <field>appt_number</field>
        </keys>
       
        </appointment>
        <inventory>
        <keys>
        <field>invsn</field>
        </keys>
        </inventory>
                </head>
                <data xmlns="">
                    <!-- Optional -->
                    <commands>
                        <command>
                            <date>2016-09-28</date>
                            
                            <type>update_activity</type>
                            <external_id>61233</external_id> <!-- Replace this-->
                            <appointment>
                               <appt_number>5809</appt_number> <!-- Replace this-->
     <duration>30</duration>
     <worktype_label>CR</worktype_label> <!-- Replace this-->
     <name>name12</name>
     <phone>11111111</phone>
     <email>email@email.com</email>
     <cell>11111111</cell>
     <address>216-218 Camberwell Rd</address>
     <city>London</city>
     <zip>SE5 0ED</zip>
     <language>en</language>

                              </appointment>
                                
                        </command>
                    </commands>
                    <!-- Optional -->
                    
                </data>

     

    Try this out and replace the correct value as in your system for  <!-- Replace this--> markers.

    Regards,

    Hardik Gupta

  • Hardik Gupta

    Hi Saurabh,

    Now what is the response that you got? I can see the payload is still not correct.

    The <properties> tag is this way

    <properties>

    <property></property>

    <property></property>

    </properties>

    Regards,

    Hardik Gupta

  • saurabh suman

    I am adding my response completely. Still not solved :(  Not sure what issue is ... 

    <worktype>12</worktype>
             <date>2016-09-28</date>
             <resource_id>USEast</resource_id>
             <position_in_route>first</position_in_route>
             <!--Zero or more repetitions:-->
             <properties>
                <name>appt_number</name>
                <value>apt1234</value>
             </properties>
             <properties>
                <name>language</name>
                <value>en</value>
             </properties>        
             <properties>
                <name>customer_number</name>
                <value>SStest</value>
             </properties>
             <properties>
                <name>name</name>
                <value>sstest1</value>
             </properties>
             <properties>
                <name>zip</name>
                <value>07001</value>
             </properties>
             <properties>
                <name>aworktype</name>
                <value>4</value>
             </properties>
              <properties>
                <name>atype</name>
                <value>4</value>
             </properties>
            <properties>
                <name>time_slot</name>
                <value>07-09</value>
             </properties>
                  <properties>
                <name>time_zone</name>
                <value>GMT</value>
             </properties>
             <properties>
                <name>duration</name>
                <value>40</value>
             </properties>

  • Hardik Gupta

    Hi Saurabh,

    If you are using the name of the Activity then use this tag <worktype_label>[string?]</worktype_label>

    Also <worktype_label>[string?]</worktype_label> this is a separate tag under <appointment>

    Your syntax is wrong.

    The right way is:

    Suppose Activity type ID is 12 and Activity Name is Installation and Activity Label is INS then:

    <appointment> 
                                <worktype>12</worktype>

    <properties>

    ....This is optional

    </properties>

    </appointment>

    OR
    <appointment>     

                          <worktype_label>INS</worktype_label>

    <properties>

    ....This is optional

    </properties>

    </appointment>

    I hope this solves your issue.

    Regards,

    Hardik Gupta

  • saurabh suman

    Hi Hardik

    i tried this way

           <properties>
                    <name>worktype</name>
                    <value>Installation</value>
                 </properties>...but still i got the same worktypid not assigned error

    and then i tried <worktype> Installation</worktype> but same error

     

    by any chance u have any xml that worked for u in soap ui to create activity u can share.

  • Hardik Gupta

    Hi Saurabh,

    Under Activity types there are several activity types that one creates.

    If you check there is an ID column on left. That is the worktypeId. 

    Regards,

    Hardik Gupta

  • Hardik Gupta

    Hi Sunil,

    Yes this setup is required now for SOAP UI.

    I never thought you might be stuck at that setup step. I have setup using option 1 on my SOAP UI. It works for me.

    Regards,

    Hardik Gupta

  • Sunil Ainlod

    Hi Hardik,

    I got the solution on this: We need to add below settings in SOAP UI and start SOAP UI from batch file. (soapui.bat)

    1. find the following file on your computer(Make sure you have write access to the file)
    C:\Program Files\SmartBear\SoapUI-5.2.1\bin\SoapUI-5.2.1.vmoptions
    2. Add the following line to the file
    -Dsoapui.https.protocols="SSLv3,TLSv1.2"
    3. Run soap ui with the .exe file (SoapUI-5.2.1.exe)

    Option 2: (if option 1 does not work for you).

    1. Edit the following batch file on your computer(Make sure you have write access to the file)
    C:\Program Files\SmartBear\SoapUI-5.2.1\bin\soapui.bat    
    2. Add the following line to the file (after: if "%SOAPUI_HOME%" == "" goto START)
    set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.https.protocols="SSLv3,TLSv1.2"
    3. Run Soap ui with the batch file (soapui.bat)

     

    Regards,

    Sunil