[
https://issues.apache.org/jira/browse/CXF-8003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16800818#comment-16800818
]
Tsvetoslav commented on CXF-8003:
---------------------------------
Hi [~reta]
Thank you for this information, it's helped me a lot. During this discussion,
the following question pop up from my mind:
# For XMLDSign I'm using approach describe here -
[http://cxf.apache.org/docs/ws-security.html,] section "Signing" but using this
approach the Signature has been generated in SOAP Header. My wsdl file there is
Signature element(_<xs:element name="Signature" type="ds:SignatureType">_)
which point to this schema [^xmldsig-core-schema.xsd]. Is it possible to fill
in this Signature data using apache-cxf because I couldn't find anywhere such
example. Unfortunately it's already block my work.
# Is it enough this delay from 100 *millis* or I need to increase it based on
my method execution time?
# Is there any place(community/forum/or anything else) for such kind of
questions, which are no typical scenarios which are not covered in Apache-cxf
page?
# Is there anything specific in asynchronous communication in term of sending
of SOAP header or I can use this approach -
[http://cxf.apache.org/faq.html#FAQ-HowcanIaddsoapheaderstotherequest/response?]
I really appreciate your help!
> @MockBean issue in cxf-spring-boot-starter-jaxws
> ------------------------------------------------
>
> Key: CXF-8003
> URL: https://issues.apache.org/jira/browse/CXF-8003
> Project: CXF
> Issue Type: Bug
> Reporter: Tsvetoslav
> Priority: Minor
> Attachments: cxf-jaxws-spring-boot-new.zip, image (1).png,
> image-2019-03-22-15-30-26-348.png, image-2019-03-22-15-30-49-153.png,
> xmldsig-core-schema.xsd
>
>
> Hi,
>
> I'm creating Soap web service using wsdl2java plugin. I use
> cxf-spring-boot-starter-jaxws dependency which gives me an opportunity to
> create the service using both frameworks Apache-cxf and Spring boot. When I
> was developing my Integration tests, I faced an issue which blocks my work.
> I've created a component which is client to another service. This component
> has been @Autowired in my Implementation class. In my test I would like to
> mock this component because during the build I don't want to have real call
> to the service. For some reason when the Implementation method is from *void*
> return type, the Mocking doesn't work properly.
> I attached you a Screenshot from my test and implementation class.
> Here is the log from the execution:
> 11:09:09.697 [http-nio-9091-exec-1] INFO c.i.es2.endpoint.SmDpES2PortImpl -
> Executing operation es2GetEIS
> 11:09:09.698 [http-nio-9091-exec-1] INFO c.i.es2.endpoint.SmDpES2PortImpl -
> *TEST BEAN: CallMockClient_ES2GetEis*
> ----
> 11:09:09.733 [default-workqueue-1] INFO c.i.es2.endpoint.SmDpES2PortImpl -
> Executing operation es2DownloadProfile
> 11:09:09.734 [default-workqueue-1] INFO c.i.es2.endpoint.SmDpES2PortImpl -
> *TEST BEAN: null*
> I hope you can help me out for the problem.
> Thank you in advance!
>
> PS: I tested with different dependencies version and hit the same issue
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)