Hi Dan,
Can you explain what you mean by the ioc related annotations in AbstractSoapBindingFactory and the problems you're having? Maybe I can help?

You have a AbstractFactory, Factory1 and Factory2 extends AbstractFactory,
In AbstractFactory you have something like below:
   @Resource
   public void setBus(Bus b) {
       bus = b;
   }
So I mean is there any possible to inject info into Factory1?

But, no worries, i may find another way out.

No, that won't cause a problem, but this would:

<wsdl:service name="SOAPService">
<wsdl:port name="SoapPort" binding="tns:PutLastTradedPriceSoapBinding">
          <soap:address location="http://localhost:9107/StockService"/>
      </wsdl:port>
<wsdl:port name="Soap12Port" binding="tns:PutLastTradedPriceSoapBinding">
          <soap12:address location="http://localhost:9107/StockService"/>
      </wsdl:port>
  </wsdl:service>

Now do you see what I mean by having multiple services on the same address?
That require a preprocessor to choose which binding they should load? TBH, i haven't think about that yet. Do you have any solutions? In this case it means that the endpoint can accept both soap11 and soap12, I don't know if it's popular in the real world,
but i would suggest user to expose two ports instead of using one.

Thanks,
James.

P.S.

This should be:
<wsdl:service name="SOAPService">
<wsdl:port name="SoapPort" binding="tns:PutLastTradedPriceSoapBinding">
         <soap:address location="http://localhost:9107/StockService"/>
     </wsdl:port>
<wsdl:port name="Soap12Port" binding="tns:PutLastTradedPriceSoap12Binding">
         <soap12:address location="http://localhost:9107/StockService"/>
     </wsdl:port>
 </wsdl:service>

my mistake;)

Reply via email to