Hi Michael,
It's been a while but I do seem to remember a number of issues with this utility.
Is the second environment configured with SSL? I seem to remember this did not work with SSL.
Have you tried exporting a single service and if so did it work. Again I seem to remember a memory issue when exporting large amounts of services in one go. Maybe there are some java memory settings in the cmd file you can increase. In the past, I had to do the following to transfer services from one environment to another.
1: Use a java utility (SOI REST API calls) to export the service structure (Parent-Child relationships etc.) of the services I wanted to export.
2: I then used the wsssa command to export each service individually (using a batch script).
3: On the new server, I did the import again using the wsssa command and the ordered list of services I got from step 1 above
You may find that some services have special characters which the export/import cannot handle. Using the above approach made it very easy to identify the problem services.
Something else to note is that you may have problems with services that have percentage policies applied. When doing an import the utility expects to see a 4 digit percentage number ( two two-digit numbers). If a policy has 1150 it is fine but if the first half of the policy has a number below 10 then it will be exported as a single digit. So a percentage of 1 and 50 will be exported as 150 instead of the expected 0150.
You can query the database to find policies with this issue and fix them up before you do the import.
Hope this helps.
Take care.
Alan
Original Message:
Sent: 07-13-2021 10:57 AM
From: Michael Boehm
Subject: SOI: WSSSAServiceCmdV2 causing "Web Request failed"
Hi,
I hope somebody has some ideas about the following issue:
I am exporting services from one SOI environment, using the WSSSAServiceCmdV2 command - all is working fine.
I am doing exactly the same thing on a different SOI Server, and I am getting:
Response getting from Service call is:
WSSSAServiceCmdV2() - Web Service request failed....
Return code: 1
Any suggestion what to check is appreciated.
It is not related to the password (that gives a totally different error).
I am running out of ideas what else can be the issue.
Thanks
Michael
------------------------------
Senior Enterprise Architect
MAXXYS AG
Germany
------------------------------