phax / phase4

phase4 - AS4 client and server for integration into existing systems. Specific support for Peppol and CEF eDelivery built-in.
Apache License 2.0
147 stars 48 forks source link

Receiving WildCard Error #209

Closed sakasaka19 closed 7 months ago

sakasaka19 commented 8 months ago

Phase4 is checking the ReceiverEndpoint when receiving a wildcard DocumentType, However, since the pattern matching method is not used at that time, it results in an error.

Please apply the fixes that were previously made for sending to the receiving process.

phase4-peppol-servlet\src\main\java\com\helger\phase4\peppolServlet\Phase4PeppolServletMessageProcessorSPI.java - AS4 MessageProcessorResult  The aReceiverEndpoint obtained by _getReceiverEndpoint on line 792 is null.

peppol-commons  peppol-smp-client\src\main\java\com\helger\smpclient\peppol\ISMPServiceMetadataProvider.java   I guess it's like calling getWildcardServiceMetadataOrNull instead of getServiceMetadataOrNull used in line 180?

phax commented 8 months ago

Thanks @sakasaka19 for pointing that out - you are of course totally right

sakasaka19 commented 7 months ago

Hi Philip

Thanks for always upgrading Phase4. When do you plan to release the new Phase4 with this Issue supported?

I'm also trying to work out a schedule for offering AccessPoint with the new Phase 4 built in, I would like to know if you have a rough schedule in mind.

phax commented 7 months ago

@sakasaka19 the respective update v2.7.3 will be released this week. I am just collecting different issues :)

sakasaka19 commented 7 months ago

Thank you Philip

I'm looking forward new Phase4 .

phax commented 7 months ago

Will be part of the 2.7.3 release. Please use Phase4PeppolServletConfiguration.setWildcardSelectionMode to configure the respective wildcard selection mode.