Skip to main content

Hi
I'm trying  to copy an existing SOAP-configuration from UF9 to UF10
On tomcat side, I managed to create a second webapp with an new name.
I did exchange the middleware, so by a new port Tomcat can reach the UROUTER
(WSDL are exactly the same, WRD.jar is from UF10)


UROUTER starts USERVER (Uniface 10) and the INIT-operation is called (returns 0)
But nothing more happens (a call to SOAP_CALLIN_PRE expected, but not happen)

This are the last line in USERVER.LOG (profiling enabled)
---
REC=PROFILINGSEQ=3NEST=2ELAPSTIME=4ELAPSTIME_X=4TYPE=MODMODID=mLP_XYZMODNAM=entry LP_XYZTRIG=TRIGGER=OBJTYPE=SVCAPSNAM=ANYCPTNAM=SOAP_CININSNAM=_I00000001
OPERATION INIT
TYPE=OPRMODID=hINITMODNAM=operation INITTRIG=TRIGGER=OBJTYPE=SVCAPSNAM=ANYCPTNAM=SOAP_CININSNAM=_I00000001
To Router:chn=797;len=477: ANSWER; typ=Z;av=I;op=Z;ret=0,0;
    hop=0;dbg=0;pid=0;tid=0;qid=0;ins=0;

---

The "errror" message returned by Tomcat
---
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
  <soapenv:Body>
    <soapenv:Fault>
      <faultcode>soapenv:Server</faultcode>
      <faultstring>Activation error occurred</faultstring>
      <faultactor>urn:uniface:applic:userver:doSoapRequest:</faultactor>
      <detail>
        <status>-180</status>
        <description>Access denied</description>
      </detail>
    </soapenv:Fault>
  </soapenv:Body>
</soapenv:Envelope>

so what's going on here?
Any more components to exchange?

Hi
I'm trying  to copy an existing SOAP-configuration from UF9 to UF10
On tomcat side, I managed to create a second webapp with an new name.
I did exchange the middleware, so by a new port Tomcat can reach the UROUTER
(WSDL are exactly the same, WRD.jar is from UF10)


UROUTER starts USERVER (Uniface 10) and the INIT-operation is called (returns 0)
But nothing more happens (a call to SOAP_CALLIN_PRE expected, but not happen)

This are the last line in USERVER.LOG (profiling enabled)
---
REC=PROFILINGSEQ=3NEST=2ELAPSTIME=4ELAPSTIME_X=4TYPE=MODMODID=mLP_XYZMODNAM=entry LP_XYZTRIG=TRIGGER=OBJTYPE=SVCAPSNAM=ANYCPTNAM=SOAP_CININSNAM=_I00000001
OPERATION INIT
TYPE=OPRMODID=hINITMODNAM=operation INITTRIG=TRIGGER=OBJTYPE=SVCAPSNAM=ANYCPTNAM=SOAP_CININSNAM=_I00000001
To Router:chn=797;len=477: ANSWER; typ=Z;av=I;op=Z;ret=0,0;
    hop=0;dbg=0;pid=0;tid=0;qid=0;ins=0;

---

The "errror" message returned by Tomcat
---
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
  <soapenv:Body>
    <soapenv:Fault>
      <faultcode>soapenv:Server</faultcode>
      <faultstring>Activation error occurred</faultstring>
      <faultactor>urn:uniface:applic:userver:doSoapRequest:</faultactor>
      <detail>
        <status>-180</status>
        <description>Access denied</description>
      </detail>
    </soapenv:Fault>
  </soapenv:Body>
</soapenv:Envelope>

so what's going on here?
Any more components to exchange?

Hi Ingo,

It is required in version 10 to mark operations as being callable from the web by using "public web" or "public soap" in the operation.

https://u.uniface.info/docs/1000/uniface/proc/reference/ProcStatements/public_soap.htm

Kind regards,

Mike.






Hi
I'm trying  to copy an existing SOAP-configuration from UF9 to UF10
On tomcat side, I managed to create a second webapp with an new name.
I did exchange the middleware, so by a new port Tomcat can reach the UROUTER
(WSDL are exactly the same, WRD.jar is from UF10)


UROUTER starts USERVER (Uniface 10) and the INIT-operation is called (returns 0)
But nothing more happens (a call to SOAP_CALLIN_PRE expected, but not happen)

This are the last line in USERVER.LOG (profiling enabled)
---
REC=PROFILINGSEQ=3NEST=2ELAPSTIME=4ELAPSTIME_X=4TYPE=MODMODID=mLP_XYZMODNAM=entry LP_XYZTRIG=TRIGGER=OBJTYPE=SVCAPSNAM=ANYCPTNAM=SOAP_CININSNAM=_I00000001
OPERATION INIT
TYPE=OPRMODID=hINITMODNAM=operation INITTRIG=TRIGGER=OBJTYPE=SVCAPSNAM=ANYCPTNAM=SOAP_CININSNAM=_I00000001
To Router:chn=797;len=477: ANSWER; typ=Z;av=I;op=Z;ret=0,0;
    hop=0;dbg=0;pid=0;tid=0;qid=0;ins=0;

---

The "errror" message returned by Tomcat
---
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
  <soapenv:Body>
    <soapenv:Fault>
      <faultcode>soapenv:Server</faultcode>
      <faultstring>Activation error occurred</faultstring>
      <faultactor>urn:uniface:applic:userver:doSoapRequest:</faultactor>
      <detail>
        <status>-180</status>
        <description>Access denied</description>
      </detail>
    </soapenv:Fault>
  </soapenv:Body>
</soapenv:Envelope>

so what's going on here?
Any more components to exchange?

What caught me out on this one when I did the migration is that all soap operations now have to have public soap after the operation declaration. I think the error returned if you don't is access denied as above, 


Regards, 


Iain


Hi
I'm trying  to copy an existing SOAP-configuration from UF9 to UF10
On tomcat side, I managed to create a second webapp with an new name.
I did exchange the middleware, so by a new port Tomcat can reach the UROUTER
(WSDL are exactly the same, WRD.jar is from UF10)


UROUTER starts USERVER (Uniface 10) and the INIT-operation is called (returns 0)
But nothing more happens (a call to SOAP_CALLIN_PRE expected, but not happen)

This are the last line in USERVER.LOG (profiling enabled)
---
REC=PROFILINGSEQ=3NEST=2ELAPSTIME=4ELAPSTIME_X=4TYPE=MODMODID=mLP_XYZMODNAM=entry LP_XYZTRIG=TRIGGER=OBJTYPE=SVCAPSNAM=ANYCPTNAM=SOAP_CININSNAM=_I00000001
OPERATION INIT
TYPE=OPRMODID=hINITMODNAM=operation INITTRIG=TRIGGER=OBJTYPE=SVCAPSNAM=ANYCPTNAM=SOAP_CININSNAM=_I00000001
To Router:chn=797;len=477: ANSWER; typ=Z;av=I;op=Z;ret=0,0;
    hop=0;dbg=0;pid=0;tid=0;qid=0;ins=0;

---

The "errror" message returned by Tomcat
---
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
  <soapenv:Body>
    <soapenv:Fault>
      <faultcode>soapenv:Server</faultcode>
      <faultstring>Activation error occurred</faultstring>
      <faultactor>urn:uniface:applic:userver:doSoapRequest:</faultactor>
      <detail>
        <status>-180</status>
        <description>Access denied</description>
      </detail>
    </soapenv:Fault>
  </soapenv:Body>
</soapenv:Envelope>

so what's going on here?
Any more components to exchange?

mille grazie 🙂


Hi
I'm trying  to copy an existing SOAP-configuration from UF9 to UF10
On tomcat side, I managed to create a second webapp with an new name.
I did exchange the middleware, so by a new port Tomcat can reach the UROUTER
(WSDL are exactly the same, WRD.jar is from UF10)


UROUTER starts USERVER (Uniface 10) and the INIT-operation is called (returns 0)
But nothing more happens (a call to SOAP_CALLIN_PRE expected, but not happen)

This are the last line in USERVER.LOG (profiling enabled)
---
REC=PROFILINGSEQ=3NEST=2ELAPSTIME=4ELAPSTIME_X=4TYPE=MODMODID=mLP_XYZMODNAM=entry LP_XYZTRIG=TRIGGER=OBJTYPE=SVCAPSNAM=ANYCPTNAM=SOAP_CININSNAM=_I00000001
OPERATION INIT
TYPE=OPRMODID=hINITMODNAM=operation INITTRIG=TRIGGER=OBJTYPE=SVCAPSNAM=ANYCPTNAM=SOAP_CININSNAM=_I00000001
To Router:chn=797;len=477: ANSWER; typ=Z;av=I;op=Z;ret=0,0;
    hop=0;dbg=0;pid=0;tid=0;qid=0;ins=0;

---

The "errror" message returned by Tomcat
---
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
  <soapenv:Body>
    <soapenv:Fault>
      <faultcode>soapenv:Server</faultcode>
      <faultstring>Activation error occurred</faultstring>
      <faultactor>urn:uniface:applic:userver:doSoapRequest:</faultactor>
      <detail>
        <status>-180</status>
        <description>Access denied</description>
      </detail>
    </soapenv:Fault>
  </soapenv:Body>
</soapenv:Envelope>

so what's going on here?
Any more components to exchange?


What about an error message?
"Could not access operation XYZ due to unsuitable scope informations"
The signature was read so UnifAce knows which operation are availble!
A  -180 "access denied" didn't say anything and -180 is not even listed under UnifAce errors



What about an error message?
"Could not access operation XYZ due to unsuitable scope informations"
The signature was read so UnifAce knows which operation are availble!
A  -180 "access denied" didn't say anything and -180 is not even listed under UnifAce errors

Hi Ingo,

You can find -180 documented under $procerror 

https://u.uniface.info/docs/1000/uniface/proc/reference/ProcFunctions/_procerror.htm?Highlight=180

-180

UACTERR_ACCESS_DENIED

An operation or trigger that is being activated from a web or SOAP client has not been declared as public web or public soap.

Kind regards,

Mike



What about an error message?
"Could not access operation XYZ due to unsuitable scope informations"
The signature was read so UnifAce knows which operation are availble!
A  -180 "access denied" didn't say anything and -180 is not even listed under UnifAce errors

Oops, didn't find this
Could be, that the help ist still UF97, have to check this  🙂