Absent Member.
Absent Member.
9641 views

Tryicommand line error :An internal error has occurred. (org.springframework.ws.soap.axiom.AxiomSoapMessageCreationException: Unknown content type 'text/html;charset=ISO-8859-1')

Jump to solution

Trying to upload or view fro the SSC server using command line but running into the following issue:

An internal error has occurred.
(org.springframework.ws.soap.axiom.AxiomSoapMessageCreationException: Unknown

content type 'text/html;charset=ISO-8859-1')



In detail:

bash-4.1$
/HP_Fortify_SCA_and_Apps_4.10/bin/fortify
client listProjectVersions -url http://fortify-ssc-server/index.jsp -user xxx
@ -password xxx

-bash-4.1$
/home/build/toolchain/Fortify/Fortify/HP_Fortify_SCA_and_Apps_4.10/bin/fortify
client listProjectVersions -url http://fortify-ssc-server/index.jsp -user xxx
@ -password xxx -prject xxx -version xx


However these commands end up with the following error:

An internal error has occurred.
(org.springframework.ws.soap.axiom.AxiomSoapMessageCreationException: Unknown
content type 'text/html;charset=ISO-8859-1')

-bash-4.1$

Using the debug flag, I get the following output:

ERROR 12:16:36 [com.fortify.ws.client.ProjectVersionClient] - Exception
sending request

org.springframework.ws.soap.axiom.AxiomSoapMessageCreationException: Unknown
content type 'text/html;charset=ISO-8859-1'
at
org.springframework.ws.soap.axiom.AxiomSoapMessageFactory.getSoapEnvelopeNames
pace(AxiomSoapMessageFactory.java:282)
at
org.springframework.ws.soap.axiom.AxiomSoapMessageFactory.createAxiomSoapMessa
ge(AxiomSoapMessageFactory.java:242)
at
org.springframework.ws.soap.axiom.AxiomSoapMessageFactory.createWebServiceMess
age(AxiomSoapMessageFactory.java:213)
at
org.springframework.ws.soap.axiom.AxiomSoapMessageFactory.createWebServiceMess
age(AxiomSoapMessageFactory.java:81)
at
org.springframework.ws.transport.AbstractWebServiceConnection.receive(Abstract
WebServiceConnection.java:90)
at
@ org.springframework.ws.client.core.WebServiceTemplate.doSendAndReceive(WebServ
iceTemplate.java:589)
at
org.springframework.ws.client.core.WebServiceTemplate.sendAndReceive(WebServic
eTemplate.java:537)
at
org.springframework.ws.client.core.WebServiceTemplate.marshalSendAndReceive(We
bServiceTemplate.java:384)
at
org.springframework.ws.client.core.WebServiceTemplate.marshalSendAndReceive(We
bServiceTemplate.java:378)
at
org.springframework.ws.client.core.WebServiceTemplate.marshalSendAndReceive(We
bServiceTemplate.java:370)
at
com.fortify.ws.client.AbstractWSClient.sendRequest(AbstractWSClient.java:132)
at
com.fortify.ws.client.AbstractWSClient.sendRequest(AbstractWSClient.java:113)
at
com.fortify.ws.client.ProjectVersionClient.getProjectVersionByName(ProjectVers
ionClient.java:173)
at
com.fortify.ws.client.ProjectVersionResolver.getProjectVersionId(ProjectVersio
nResolver.java:59)
at
com.fortify.ws.client.ProjectVersionResolver.getPvIdFromProjectIdentifier(Proj
ectVersionResolver.java:43)
at
com.fortify.ws.client.FPRTransferClient.uploadFPR(FPRTransferClient.java:87)
at
com.fortify.ws.cli.F360CommandLineInterface.uploadFPR(F360CommandLineInterface
.java:486)
at
com.fortify.ws.cli.F360CommandLineInterface.main(F360CommandLineInterface.java
:990)

An internal error has occurred.
(org.springframework.ws.soap.axiom.AxiomSoapMessageCreationException: Unknown
content type 'text/html;charset=ISO-8859-1')

0 Likes
1 Solution

Accepted Solutions
Vice Admiral
Vice Admiral

Please alter your URL to remove /index.jsp, e.g. just http://fortify-ssc-server

Should work fine then.

-Josh

View solution in original post

0 Likes
2 Replies
Vice Admiral
Vice Admiral

Please alter your URL to remove /index.jsp, e.g. just http://fortify-ssc-server

Should work fine then.

-Josh

View solution in original post

0 Likes
Absent Member.
Absent Member.

Worked like a charm!

You are the Best Josh!

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.