All Apps and Add-ons

How do you change the WSDL URL for the Splunk Add-on for BMC Remedy?

adlireza
Path Finder

I am currently configuring the BMC Remedy add-on, but am running into an issue where the WSDL URL is different than what the add-on is expecting.

All settings have been done via the Configuration > Account page. Settings generated in local/splunk_ta_remedy_settings.conf are as below:

[additional_parameters]
http_scheme = http
server_name = <arsystemname>
server_url = <midtierserver>:80
user = user
password = ********

When I use the |remedyincidentcreate command, I get an error:

"Can't get the WSDL file at  http://midtierserver/arsys/WSDL/protected/arsystemname/HPD_IncidentInterface_Create_WS"

Turns out the Remedy is not serving the WSDL as protected, but public. I want to change the the URL to use public and I have added the stanza below to local/splunk_ta_remedy_settings.conf:

[remedy_ws]
create_wsdl_url = http://midtierserver/arsys/WSDL/public/arsystemname/HPD_IncidentInterface_Create_WS

However, the add-on doesn't seem to respect this configuration and outputs the same error.

Can anyone help me with this issue? Thanks.

0 Karma
1 Solution

adlireza
Path Finder

I have solved this problem by editing bin/remedy_ticket.py to change the hardcoded URL directly. Search for the validate_and_create_url() method definition, change the values as below:

remedy_ws_staza[c.CREATE_WSDL_URL] = remedy_account.get(c.HTTP_SCHEME) + '://' + remedy_account.get(
    c.URL).strip(' /') + '/arsys/WSDL/public/' + remedy_account.get(
    c.SERVER_NAME).strip() + '/HPD_IncidentInterface_Create_WS'
remedy_ws_staza[c.MODIFY_WSDL_URL] = remedy_account.get(c.HTTP_SCHEME) + '://' + remedy_account.get(
    c.URL).strip(' /') + '/arsys/WSDL/public/' + remedy_account.get(
    c.SERVER_NAME).strip() + '/HPD_IncidentInterface_WS'

View solution in original post

0 Karma

adlireza
Path Finder

I have solved this problem by editing bin/remedy_ticket.py to change the hardcoded URL directly. Search for the validate_and_create_url() method definition, change the values as below:

remedy_ws_staza[c.CREATE_WSDL_URL] = remedy_account.get(c.HTTP_SCHEME) + '://' + remedy_account.get(
    c.URL).strip(' /') + '/arsys/WSDL/public/' + remedy_account.get(
    c.SERVER_NAME).strip() + '/HPD_IncidentInterface_Create_WS'
remedy_ws_staza[c.MODIFY_WSDL_URL] = remedy_account.get(c.HTTP_SCHEME) + '://' + remedy_account.get(
    c.URL).strip(' /') + '/arsys/WSDL/public/' + remedy_account.get(
    c.SERVER_NAME).strip() + '/HPD_IncidentInterface_WS'
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...